Template:Faction Panel: Difference between revisions
More actions
faction panel!!! waaaaaow |
removed general templates category (uses infobox category) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> |
<noinclude> |
||
[[Category:Templates]] |
|||
This is the "Faction Panel" template. |
This is the "Faction Panel" template. |
||
It should be called in the following format: |
It should be called in the following format: |
||
| Line 11: | Line 10: | ||
|status= |
|status= |
||
|type= |
|type= |
||
|government= |
|||
|leaders= |
|leaders= |
||
|members= |
|||
|founded= |
|founded= |
||
|dissolved= |
|||
|headquarters= |
|headquarters= |
||
|territory= |
|territory= |
||
| Line 58: | Line 60: | ||
"type": "string", |
"type": "string", |
||
"example": "Empire, Guild, Cult, Military order" |
"example": "Empire, Guild, Cult, Military order" |
||
}, |
|||
"government": { |
|||
"label": "Government", |
|||
"description": "How the faction is governed", |
|||
"type": "string", |
|||
"example": "Monarchy, Council of Elders, Theocracy" |
|||
}, |
}, |
||
"leaders": { |
"leaders": { |
||
| Line 64: | Line 72: | ||
"type": "string", |
"type": "string", |
||
"suggested": true |
"suggested": true |
||
}, |
|||
"members": { |
|||
"label": "Notable members", |
|||
"description": "Characters worth linking to who belong or belonged to the faction. Enter one per line.", |
|||
"type": "string" |
|||
}, |
}, |
||
"founded": { |
"founded": { |
||
"label": "Founded", |
"label": "Founded", |
||
"description": "When the faction was founded or formed", |
"description": "When the faction was founded or formed", |
||
"type": "string" |
|||
}, |
|||
"dissolved": { |
|||
"label": "Dissolved", |
|||
"description": "When the faction ended, if it no longer exists", |
|||
"type": "string" |
"type": "string" |
||
}, |
}, |
||
| Line 135: | Line 153: | ||
-->{{Infobox row|label=Status|value={{{status|}}}}}<!-- |
-->{{Infobox row|label=Status|value={{{status|}}}}}<!-- |
||
-->{{Infobox row|label=Type|value={{{type|}}}}}<!-- |
-->{{Infobox row|label=Type|value={{{type|}}}}}<!-- |
||
-->{{Infobox row|label=Government|value={{{government|}}}}}<!-- |
|||
-->{{Infobox row|label=Leader(s)|value={{{leaders|}}}}}<!-- |
-->{{Infobox row|label=Leader(s)|value={{{leaders|}}}}}<!-- |
||
-->{{Infobox row|label=Notable members|value={{{members|}}}}}<!-- |
|||
-->{{Infobox row|label=Founded|value={{{founded|}}}}}<!-- |
-->{{Infobox row|label=Founded|value={{{founded|}}}}}<!-- |
||
-->{{Infobox row|label=Dissolved|value={{{dissolved|}}}}}<!-- |
|||
-->{{Infobox row|label=Headquarters|value={{{headquarters|}}}}}<!-- |
-->{{Infobox row|label=Headquarters|value={{{headquarters|}}}}}<!-- |
||
-->{{Infobox row|label=Territory|value={{{territory|}}}}}<!-- |
-->{{Infobox row|label=Territory|value={{{territory|}}}}}<!-- |
||
| Line 144: | Line 165: | ||
-->{{Infobox row|label=Enemies|value={{{enemies|}}}}}<!-- |
-->{{Infobox row|label=Enemies|value={{{enemies|}}}}}<!-- |
||
--> |
--> |
||
}} |
|||
</includeonly> |
|||
Latest revision as of 08:47, 25 November 2026
This is the "Faction Panel" template. It should be called in the following format:
{{Faction Panel
|image=
|imagealt=
|name=
|alias=
|status=
|type=
|government=
|leaders=
|members=
|founded=
|dissolved=
|headquarters=
|territory=
|population=
|ideology=
|allies=
|enemies=
|backgroundcolor=
}}
An infobox for faction pages displaying basic information about a group, organization, or nation
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image | image | Filename of the faction's emblem or banner (e.g., Emblem.png) | File | suggested |
| Image alternative text | imagealt | Describe the emblem or banner for readers who cannot see it. | String | optional |
| Name | name | The faction's full name | String | suggested |
| Alias | alias | Alternative names or epithets the faction is known by. Enter one per line. | String | optional |
| Status | status | The faction's current status
| String | optional |
| Type | type | What kind of group this is
| String | optional |
| Government | government | How the faction is governed
| String | optional |
| Leader(s) | leaders | Current or notable leaders. Enter one per line. | String | suggested |
| Notable members | members | Characters worth linking to who belong or belonged to the faction. Enter one per line. | String | optional |
| Founded | founded | When the faction was founded or formed | String | optional |
| Dissolved | dissolved | When the faction ended, if it no longer exists | String | optional |
| Headquarters | headquarters | Seat of power or main base of operations | String | optional |
| Territory | territory | Lands, planes, or regions the faction controls or operates in | String | optional |
| Population | population | Number of members or inhabitants
| String | optional |
| Ideology | ideology | The faction's goals, beliefs, or guiding philosophy | String | optional |
| Allies | allies | Friendly or allied factions and characters. Enter one per line. | String | optional |
| Enemies | enemies | Hostile or rival factions and characters. Enter one per line. | String | optional |
| Background Color | backgroundcolor | Panel color theme. Leave blank for the default. Invalid values place the page in a tracking category.
| String | optional |
Styling is shared with all infoboxes through Template:Infobox/styles.css and stacks on mobile.
For multiple leaders, allies, enemies or other text values, enter one item per line. Line breaks are preserved automatically; you do not need to add <br>.
The image parameter takes a bare filename; optional imagealt= provides alternative text.
Allowed backgroundcolor values: crimson, azure, verdant, midnight, mekhanite.
Pages with any other value are listed in Category:Faction Panel pages with invalid background color.