No edit summary |
(added type display and auto-categorization) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" cellspacing="5" style="width: 25em; font-size: 90%; text-align: left; float: right; clear: right; margin: 0 0 1em 1em; background-color:#{{#if:{{{bg_color|}}}|{{Palette|{{{bg_color|}}}}}|{{Palette| | {| class="infobox" cellspacing="5" style="width: 25em; font-size: 90%; text-align: left; float: right; clear: right; margin: 0 0 1em 1em; {{#if:{{{bg_color|}}}|color:#{{PaletteText|{{{bg_color|}}}}}|}} ; background-color:#{{#if:{{{bg_color|}}}|{{Palette|{{{bg_color|}}}}}|{{Palette|Stone}}}};" | ||
! colspan="2" style="text-align: center; font-size: 160%; padding-top: 14px; padding-bottom: 14px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! colspan="2" style="text-align: center; font-size: 160%; padding-top: 14px; padding-bottom: 14px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" " | {{{name|{{PAGENAME}}}}} | ||
|- | |||
! colspan="2" style="font-size: 160%; text-align: center; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" | {{#if:{{{type|}}}|{{{type}}}|Group}} | |||
|- | |- | ||
{{#if: {{{image|}}}| | {{#if: {{{image|}}}| | ||
{{!}} align="center" colspan="2" {{!}} [[{{{image}}}|{{{imagewidth|350}}}px]] {{#if:{{{caption|}}}|<br /><small>{{{caption|}}}}} | {{!}} align="center" colspan="2" {{!}} [[{{#setmainimage:{{{image}}}}}|{{{imagewidth|350}}}px]] {{#if:{{{caption|}}}|<br /><small>{{{caption|}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{rpg|}}}| | {{#if:{{{rpg|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} RPG | ||
{{!}} {{{rpg|}}} | {{!}} {{{rpg|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{type|}}}| | {{#if:{{{type|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Type | ||
{{!}} {{{type|}}} | {{!}} {{{type|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{alignment|}}}| | {{#if:{{{alignment|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Alignment | ||
{{!}} {{{alignment|}}} | {{!}} {{{alignment|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{leader|}}}| | {{#if:{{{leader|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Leader | ||
{{!}} {{{leader|}}} | {{!}} {{{leader|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{leaders|}}}| | {{#if:{{{leaders|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Leaders | ||
{{!}} {{{leaders|}}} | {{!}} {{{leaders|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{members|}}}| | {{#if:{{{members|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Members | ||
{{!}} {{{members|}}} | {{!}} {{{members|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{headquarters|}}}| | {{#if:{{{headquarters|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Headquarters | ||
{{!}} {{{headquarters|}}} | {{!}} {{{headquarters|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{base|}}}| | {{#if:{{{base|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Base | ||
{{!}} {{{base|}}} | {{!}} {{{base|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{faction|}}}| | {{#if:{{{faction|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Faction | ||
{{!}} {{{faction|}}} | {{!}} {{{faction|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{guild|}}}| | {{#if:{{{guild|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Guild | ||
{{!}} {{{guild|}}} | {{!}} {{{guild|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{affiliation|}}}| | {{#if:{{{affiliation|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Affiliation | ||
{{!}} {{{affiliation|}}} | {{!}} {{{affiliation|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{status|}}}| | {{#if:{{{status|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Status | ||
{{!}} {{{status|}}} | {{!}} {{{status|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{creator|}}}| | {{#if:{{{creator|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Creator | ||
{{!}} {{{creator|}}} | {{!}} {{{creator|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{pronunciation|}}}| | {{#if:{{{pronunciation|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Pronunciation | ||
{{!}} {{{pronunciation|}}} | {{!}} {{{pronunciation|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|}< | |} | ||
{{#if:{{{type|}}}| | |||
{{#if:{{{rpg|}}}| | |||
<includeonly>[[Category:{{{type|}}}s ({{{rpg}}})]]</includeonly>| | |||
<includeonly>[[Category:{{{type|}}}s]]</includeonly> | |||
}}| | |||
}} | |||
{{#if:{{{rpg|}}}| | |||
<includeonly>[[Category:Groups ({{{rpg}}})]]</includeonly>| | |||
<includeonly>[[Category:Groups]]</includeonly> | |||
}} | |||
<noinclude> | |||
== Usage == | == Usage == | ||
<div style="width: 40%;"><pre> | <div style="width: 40%;"><pre> | ||
Line 102: | Line 118: | ||
The only required parameter is the name. Any others which are unknown or inapplicable should be left blank. Fields marked with "Unknown" blank automatically. | The only required parameter is the name. Any others which are unknown or inapplicable should be left blank. Fields marked with "Unknown" blank automatically. | ||
[[Category:Templates | [[Category:Infobox Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 20:05, 15 April 2022
Group | |
---|---|
Group |
Usage
{{Group | bg_color = | name = | image = | caption = | rpg = | type = | alignment = | leader = | leaders = | members = | headquarters = | base = | faction = | guild = | affiliation = | status = | creator = | pronunciation = }}
The only required parameter is the name. Any others which are unknown or inapplicable should be left blank. Fields marked with "Unknown" blank automatically.