Template:Squadron: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
m Univero moved page Template:PlayerGroup to Template:Squadron: better name. Player Group = renamed to Squadron |
||
| (13 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> |
|||
<onlyinclude>{{#infoboxbuilder: |
|||
<infobox theme="portInfobox"> |
|||
| 0:Theme = eInfobox | 0:CustomModule = Module:PlayerGroup |
|||
<title><default>{{PAGENAME}}</default></title> |
|||
| 1:Type = Title | 1:Label = NULL |
|||
<image source="grouplogo"/> |
|||
| 1:Value = {{PAGENAME}} |
|||
<data source="allegiance"><label>Allegiance</label><format>{{#switch: {{{allegiance}}} |
|||
| 2:Type = MainImage | 2:Label = NULL | 2:ValueMethod = MainImage |
|||
| Alliance = [[File:Alliance_vector.svg|27px|link=]] [[Alliance]] |
|||
| 2:Value = {{{grouplogo|}}} |
|||
| Empire = [[File:Empire_vector.svg|27px|link=]] [[Empire]] |
|||
| 3:Type = Line | 3:Label = Members |
|||
| Federation = [[File:Federation_vector.svg|27px|link=]] [[Federation]] |
|||
| 3:Value = {{{members|}}} |
|||
| Independent = [[File:Independent icon small.png|27px|link=]] [[Independent]] |
|||
| 4:Type = Line | 4:Label = Allegiance | 4:ValueMethod = Allegiance |
|||
| |
| #default = [[{{{allegiance}}}]] |
||
}}</format></data> |
|||
| 5:Type = Line | 5:Label = Power | 5:ValueMethod = PowerIcon | 5:PowerIcon = {{{powericon|}}} |
|||
<data source="power"><label>Power</label><format>{{#switch: {{{power}}} |
|||
| 5:Value = {{{power|}}} |
|||
| Archon Delaine = [[File:Archon_Delaine_vector.svg|27px|link=]] |
|||
| 6:Type = Line | 6:Label = Home system |
|||
| Aisling Duval = [[File:Aisling Duval_vector.svg|27px|link=]] |
|||
| 6:Value = {{{homesystem|}}} |
|||
| Arissa Lavigny-Duval = [[File:A Lavigny Duval_vector.svg|27px|link=]] |
|||
| 7:Type = Line | 7:Label = Roles | 7:ValueMethod = GroupRoles |
|||
| Denton Patreus = [[File:Denton Patreus_vector.svg|27px|link=]] |
|||
| 7:Value = {{{grouproles|}}} |
|||
| Edmund Mahon = [[File:Edmund_Mahon_vector.svg|27px|link=]] |
|||
| 8:Type = Line | 8:Label = Website | 8:ValueMethod = exLink |
|||
| Felicia Winters = [[File:Felicia Winters_vector.svg|27px|link=]] |
|||
| 8:Value = {{{website|}}} |
|||
| Li Yong-Rui = [[File:Li Yong Rui_vector.svg|27px|link=]] |
|||
}}<includeonly> |
|||
| Pranav Antal = [[File:Pranav Antal_vector.svg|27px|link=]] |
|||
{{#if: {{NAMESPACE}} || |
|||
| Yuri Grom = [[File:GromLogo.png|27px|link=]] |
|||
{{#if:{{{allegiance|}}}|[[Category:{{#switch:{{{allegiance|}}} |
|||
| Zachary Hudson = [[File:Zachary Hudson_vector.svg|27px|link=]] |
|||
| Alliance |
|||
| Zemina Torval = [[File:Zemina Torval_vector.svg|27px|link=]] |
|||
| alliance = Alliance player groups |
|||
}} [[{{{power}}}]]</format></data> |
|||
| Empire |
|||
<data source="homesystem"><label>Home System</label></data> |
|||
| empire = Imperial player groups |
|||
<data source="government"><label>Government</label></data> |
|||
| Federation |
|||
<data source="controlledsystems"><label>Controlled systems</label></data> |
|||
| federation = Federal player groups |
|||
<data source="controlledstations"><label>Controlled stations</label></data> |
|||
| Independent |
|||
<data source="members"><label>Members</label></data> |
|||
| independent = Independent player groups |
|||
<data source="grouproles"><label>Roles</label></data> |
|||
}}]]}} |
|||
<data source="website"><label>Website</label></data> |
|||
{{#if: {{NAMESPACE}} || [[Category:Player groups]]}} |
|||
</infobox> |
|||
{{#if: {{NAMESPACE}} ||[[Category:Squadrons]]}} |
|||
</includeonly><noinclude> |
|||
==Usage== |
|||
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> |
|||
</includeonly></onlyinclude> |
|||
{{Clear}} |
|||
<noinclude> |
|||
---- |
|||
{{/doc}} |
|||
== 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> |
</noinclude> |
||
Latest revision as of 07:05, 6 October 2026
Usage
To use this template, paste the following code into the top of the article, filling all relevant fields:
{{Squadron
| grouplogo =
| allegiance =
| power =
| homesystem =
| government =
| controlledsystems =
| controlledstations =
| members =
| grouproles =
| website =
}}
Example
{{Squadron
| grouplogo = The Canonn Logo.png
| members = 595+
| allegiance = Independent
| power =
| homesystem = Varati
| grouproles = Archaeology and scientific research
| website = https://canonn.science/
}}