Template:Group: Difference between revisions

From Parallel Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{#invoke:infobox|infobox
   | above = {{{ name | {{FULLPAGENAME}}}}}
   | defaultimagesize = 250px
   | image = {{#ifexist: File:{{{image}}} | [[File:{{{image}}}|150px|link=]] | {{#ifexist: File:{{SUBPAGENAME}}.svg | [[File:{{SUBPAGENAME}}.svg|150px|link=]] | {{#ifexist: File:{{SUBPAGENAME}}.png | [[File:{{SUBPAGENAME}}.png|150px|link]] | {{#ifexist: File:{{#titleparts: {{FULLPAGENAME}} | -1 | -2 }}.svg | [[File:{{#titleparts: {{FULLPAGENAME}} | -1 | -2 }}.svg|150px|link=]] | {{#ifexist: File:{{#titleparts: {{FULLPAGENAME}} | -1 | -2 }}.png | [[File:{{#titleparts: {{FULLPAGENAME}} | -1 | -2 }}.png|150px|link=]] | {{#ifexist: File:{{#titleparts: {{FULLPAGENAME}} | -2 | -3 }}.svg | [[File:{{#titleparts: {{FULLPAGENAME}} | -2 | -3 }}.svg|150px|link=]] | {{#ifexist: File:{{#titleparts: {{FULLPAGENAME}} | -2 | -3 }}.png | [[File:{{#titleparts: {{FULLPAGENAME}} | -2 | -3 }}.png|150px|link=]] | [[File:{{#setmainimage: ParallelLogo.png }} |150px|link=]] }} }} }} }} }} }} }}
  | image = ParallelLogo.png
  | caption = {{#if:{{{image_caption|}}} | {{{image_caption}}} }}
   | extratext = {{#if:{{{image_caption|}}} | {{{image_caption}}} }}
  | label1 = Leadership
  | title = {{{title|{{BASEPAGENAME}}}}}
  | data1 = {{{leadership|}}}
  | rows =
  | label2 = Headquarters
{{#if: {{{leadership|}}} | {{infobox row|label=Leadership|field={{{leadership|}}} }} }}
  | data2 = {{{hq|}}}
{{#if: {{{hq|}}} | {{infobox row|label=Headquarters|field={{{hq|}}} }} }}
  | label3 = Established
{{#if: {{{ideology|}}} | {{infobox row|label=Ideology|field={{{ideology|}}} }} }}
  | data3 = {{{Established|}}}
{{#if: {{{established|}}} | {{infobox row|label=Established|field={{{established|}}} }} }}
  | label4 = Disbanded
{{#if: {{{disbanded|}}} | {{infobox row|label=Disbanded|field={{{disbanded|}}} }} }}
  | data4 = {{{disbanded|}}}
{{#if: {{{public|}}} | {{infobox row|label=Public?|field={{{public|}}} }} }}
  | label5 = Public?
{{#if: {{{status|}}} | {{infobox row|label=Status|field={{{status|}}} }} }}
  | data5 = {{{public|}}}
{{#if: {{{allies|}}} | {{infobox row|label=Allies|field={{{allies|}}} }} }}
  | label6 = Status
{{#if: {{{enemies|}}} | {{infobox row|label=Enemies|field={{{enemies|}}} }} }}
  | data6 = {{{status|Active}}}
  | label7 = Allies
  | data7 = {{{allies|}}}
  | label8 = Enemies
  | data8 = {{{enemies|}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Documentation}}</noinclude>
{{Documentation}}</noinclude>

Latest revision as of 03:59, 5 November 2023

[view] [edit] [history] [⧼smw purge⧽]Documentation
{{Group
| name =
| image =
| image_caption =
| leadership =
| hq =
| ideology =
| established =
| disbanded =
| public =
| status =
| allies =
| enemies =
}}

An infobox to serve as a quick reference on the right side of group pages.

Template parameters

ParameterDescriptionTypeStatus
Group namename

Will automatically enter based on page name

Example
The Exile
Lineoptional
Imageimage

Refers to the image file stored on the wiki. By default, the Parallel logo will be displayed, but you should always point this parameter to a render or screenshot of the location.

Default
ParallelLogo.png
Filesuggested
Image captionimage_caption

An optional caption for the image.

Lineoptional
Leadershipleadership

The leader(s) of the group.

Example
Diamondback88
Linesuggested
Headquartershq

The headquarters of the group.

Example
Spawn Town Observatory
Linesuggested
Ideologyideology

The professed ideology of the group.

Example
Monarchist
Linesuggested
Establishedestablished

The date the group was established.

Linesuggested
Disbandeddisbanded

The date the group was disbanded.

Linesuggested
Public?public

Whether group membership is open to the public.

Suggested values
Yes No
Linesuggested
Statusstatus

Status of the group.

Suggested values
Active Inactive Disbanded
Linesuggested
Alliesallies

Allies of the group.

Linesuggested
Enemiesenemies

Enemies of the group.

Linesuggested
[view] [edit] [history] [⧼smw purge⧽]The above documentation is transcluded from Template:Group/doc.