Difference between revisions of "Template:Infobox militia/doc"

From EVE University Wiki
Jump to: navigation, search
m
m (Refactor for use of {{Infobox}})
Line 1: Line 1:
{{cleanup|Update infobox code to use [[Template:Infobox]]. [[User:Arin Mara|Arin Mara]] ([[User talk:Arin Mara|talk]]) 18:17, 11 May 2022 (UTC)}}
+
; Description
==Usage==
+
: This template creates an infobox for a Militia
Copy and paste the code below into a corporation page and complete the info.
 
  
 +
; Usage
 +
: Copy and paste the code below into a militia page and complete the info.
 
<pre>
 
<pre>
 
{{Infobox militia
 
{{Infobox militia
|corplogo=
+
|corpname    =  
|corpname=
+
|corplogo    =  
|ticker=
+
|ticker       =  
|faction=
+
|faction     =  
|ceo=
+
|ceo         =  
|headquarters=
+
|headquarters =  
|offices=
+
|offices     =  
|activity=
+
|activity     =  
|allylogo=
+
|ally        =  
|ally=
+
|allylogo    =  
|enemylogo=
+
|enemy        =  
|enemy=
+
|enemylogo    =  
 
}}
 
}}
 
</pre>
 
</pre>
  
== Example ==
+
; Syntax parameters
 +
:; corpname : Name of the corporation
 +
:; corplogo : Name of the image of the militia logo. (Including the extension, jpg, png, etc.)
 +
:; ticker : The militia ticker.
 +
:; faction : Name of the faction the militia is part of.
 +
:; ceo : Name of the CEO.
 +
:; headquarters : Location of the militia's headquarters.
 +
:; offices : Number of offices and in how many systems
 +
:; activity : Activity type of the militia.
 +
:; ally : Allied faction of the militia
 +
:; allylogo: Name of the image of the allied faction's logo. (Including the extension, jpg, png, etc.)
 +
:; enemy : Enemy faction of the militia
 +
:; enemylogo : Name of the image of the enemy faction's logo. (Including the extension, jpg, png, etc.)
 +
 
 +
; Sample
 +
{{Infobox militia
 +
|corpname    = State Protectorate
 +
|corplogo    = State Protectorate (transparent).png
 +
|ticker      = SPROT
 +
|faction      = [[Caldari State]]
 +
|ceo          = Mumara Kara
 +
|headquarters = Jita
 +
|offices      = 16 in 16 systems
 +
|activity    = Militia
 +
|ally        = 24th Imperial Crusade
 +
|allylogo    = 24th Imperial Crusade.png
 +
|enemy        = [[Federal Defence Union]]
 +
|enemylogo    = Federal Defense Union.png
 +
}}
  
 
<pre>
 
<pre>
 
{{Infobox militia
 
{{Infobox militia
|corplogo=State Protectorate (transparent).png
+
|corpname    = State Protectorate
|corpname=State Protectorate
+
|corplogo     = State Protectorate (transparent).png
|ticker=SPROT
+
|ticker       = SPROT
|faction=[[Caldari State]]
+
|faction     = [[Caldari State]]
|ceo=Mumara Kara
+
|ceo         = Mumara Kara
|headquarters=Jita
+
|headquarters = Jita
|offices=16 in 16 systems  
+
|offices     = 16 in 16 systems  
|activity=Militia
+
|activity     = Militia
|allylogo=24th Imperial Crusade.png
+
|ally        = 24th Imperial Crusade
|ally=24th Imperial Crusade
+
|allylogo    = 24th Imperial Crusade.png
|enemylogo=Federal Defence Union.png
+
|enemy        = [[Federal Defence Union]]
|enemy=Federal Defence Union
+
|enemylogo    = Federal Defense Union.png
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 11:45, 30 May 2022

Description
This template creates an infobox for a Militia
Usage
Copy and paste the code below into a militia page and complete the info.
{{Infobox militia
|corpname     = 
|corplogo     = 
|ticker       = 
|faction      = 
|ceo          = 
|headquarters = 
|offices      = 
|activity     = 
|ally         = 
|allylogo     = 
|enemy        = 
|enemylogo    = 
}}
Syntax parameters
corpname
Name of the corporation
corplogo
Name of the image of the militia logo. (Including the extension, jpg, png, etc.)
ticker
The militia ticker.
faction
Name of the faction the militia is part of.
ceo
Name of the CEO.
headquarters
Location of the militia's headquarters.
offices
Number of offices and in how many systems
activity
Activity type of the militia.
ally
Allied faction of the militia
allylogo
Name of the image of the allied faction's logo. (Including the extension, jpg, png, etc.)
enemy
Enemy faction of the militia
enemylogo
Name of the image of the enemy faction's logo. (Including the extension, jpg, png, etc.)
Sample
State Protectorate
State Protectorate.png
Ticker SPROT
Faction Caldari State
CEO Mumara Kara
Headquarters(s) Jita
Offices 16 in 16 systems
Activity Militia
Allied Faction 24th Imperial Crusade
24th Imperial Crusade.png
Enemy Federal Defence Union
Federal Defense Union.png
{{Infobox militia
|corpname     = State Protectorate
|corplogo     = State Protectorate (transparent).png
|ticker       = SPROT
|faction      = [[Caldari State]]
|ceo          = Mumara Kara
|headquarters = Jita
|offices      = 16 in 16 systems 
|activity     = Militia
|ally         = 24th Imperial Crusade
|allylogo     = 24th Imperial Crusade.png
|enemy        = [[Federal Defence Union]]
|enemylogo    = Federal Defense Union.png 
}}