Template:Squadron: Difference between revisions

Content deleted Content added
Bot: Automated import of articles
 
m Univero moved page Template:PlayerGroup to Template:Squadron: better name. Player Group = renamed to Squadron
 
(17 intermediate revisions by 5 users not shown)
Line 1:
<includeonly>
{{-titlestart-}}Template:PlayerGroup{{-titlestop-}}
<infobox theme="portInfobox">
<onlyinclude>{{#infoboxbuilder:
<title><default>{{PAGENAME}}</default></title>
| 0:Theme = eInfobox | 0:CustomModule = Module:PlayerGroup
<image source="grouplogo"/>
| 1:Type = Title | 1:Label = NULL
<data source="allegiance"><label>Allegiance</label><format>{{#switch: {{{allegiance}}}
| 1:Value = {{PAGENAME}}
| Alliance = [[File:Alliance_vector.svg|27px|link=]] [[Alliance]]
| 2:Type = MainImage | 2:Label = NULL | 2:ValueMethod = MainImage
| Empire = [[File:Empire_vector.svg|27px|link=]] [[Empire]]
| 2:Value = {{{grouplogo|}}}
| Federation = [[File:Federation_vector.svg|27px|link=]] [[Federation]]
| 3:Type = Line | 3:Label = Members
| Independent = [[File:Independent icon small.png|27px|link=]] [[Independent]]
| 3:Value = {{{members|}}}
| #default = [[{{{allegiance}}}]]
| 4:Type = Line | 4:Label = Allegiance | 4:ValueMethod = Allegiance
}}</format></data>
| 4:Value = {{{allegiance|}}}
<data source="power"><label>Power</label><format>{{#switch: {{{power}}}
| 5:Type = Line | 5:Label = Power | 5:ValueMethod = PowerIcon | 5:PowerIcon = {{{powericon|}}}
| Archon Delaine = [[File:Archon_Delaine_vector.svg|27px|link=]]
| 5:Value = {{{power|}}}
| Aisling Duval = [[File:Aisling Duval_vector.svg|27px|link=]]
| 6:Type = Line | 6:Label = Home system | 6:ValueMethod = Link
| Arissa Lavigny-Duval = [[File:A Lavigny Duval_vector.svg|27px|link=]]
| 6:Value = {{{homesystem|}}}
| Denton Patreus = [[File:Denton Patreus_vector.svg|27px|link=]]
| 7:Type = Line | 7:Label = Roles | 7:ValueMethod = GroupRoles
| Edmund Mahon = [[File:Edmund_Mahon_vector.svg|27px|link=]]
| 7:Value = {{{grouproles|}}}
| Felicia Winters = [[File:Felicia Winters_vector.svg|27px|link=]]
| 8:Type = Line | 8:Label = Website | 8:ValueMethod = exLink
| Li Yong-Rui = [[File:Li Yong Rui_vector.svg|27px|link=]]
| 8:Value = {{{website|}}}
| Pranav Antal = [[File:Pranav Antal_vector.svg|27px|link=]]
}}<includeonly>
| Yuri Grom = [[File:GromLogo.png|27px|link=]]
{{#if: {{NAMESPACE}} ||
| Zachary Hudson = [[File:Zachary Hudson_vector.svg|27px|link=]]
{{#if:{{{allegiance|}}}|[[Category:
| Zemina Torval = [[File:Zemina Torval_vector.svg|27px|link=]]
{{#switch:{{{allegiance|}}}
}} [[{{{power}}}]]</format></data>
| Alliance
<data source="homesystem"><label>Home System</label></data>
| alliance = Alliance player groups
<data source="government"><label>Government</label></data>
| Empire
<data source="controlledsystems"><label>Controlled systems</label></data>
| empire = Imperial player groups
<data source="controlledstations"><label>Controlled stations</label></data>
| Federation
<data source="members"><label>Members</label></data>
| federation = Federal player groups
<data source="grouproles"><label>Roles</label></data>
| Independent
<data source="website"><label>Website</label></data>
| independent = Independent player groups
</infobox>
}}]]}}
{{#if: {{NAMESPACE}} ||[[Category:Player groupsSquadrons]]}}
</includeonly></onlyincludenoinclude>
 
<noinclude>
==Usage==
{{/doc}}
To use this template, paste the following code into the top of the article, filling all relevant fields:
<pre>{{Squadron
| grouplogo =
| allegiance =
| power =
| homesystem =
| government =
| controlledsystems =
| controlledstations =
| members =
| grouproles =
| website =
}}
</pre>
{{Clear}}
----
== Example ==
{{Squadron
| grouplogo = The Canonn Logo.png
| members = 595+
| allegiance = Independent
| power =
| homesystem = Varati
| grouproles = Archaeology and scientific research
| website = https://canonn.science/
}}
 
<pre>
{{Squadron
| grouplogo = The Canonn Logo.png
| members = 595+
| allegiance = Independent
| power =
| homesystem = Varati
| grouproles = Archaeology and scientific research
| website = https://canonn.science/
}}
</pre>
 
[[Category:Infobox templates|{{PAGENAME}}]]
[[ru:Шаблон:Сообщество игроков инфобокс]]
</noinclude>