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

From EVE University Wiki
Jump to: navigation, search
m
m (Add dependencies.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{main|Template:Infobox militia}}</noinclude>
+
; Description
==Usage==
+
: This template creates an infobox for a Militia
Copy and paste the code below into a corporation page and complete the info.
 
  
 +
; Dependencies
 +
:; Uses
 +
:: {{T|Infobox}}
 +
 +
; 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>

Latest revision as of 12:13, 30 May 2022

Description
This template creates an infobox for a Militia
Dependencies
Uses
{{Infobox}}
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 
}}