Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox agent/doc: Difference between revisions

Template page
Arin Mara (talk | contribs)
m No longer uses external CSS
m Take the infobox bit in the template name out of the category sort order.
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
; Description
: This template is used to create an Infobox for [[Missions#Agents|Mission agents]].


;Description
; Dependencies
:This template is used to create an Infobox for [[Missions#Agents|Mission agents]].
:; Uses
;Dependencies:
:: {{T|Infobox}}
:* [[Template:CorporationToFaction]]
:: {{T|CorporationToFaction}}
:* [[Template:SystemToRegion]]
:: {{T|SystemToRegion}}
:* [[Template:SystemToSecurity]]
:: {{T|SystemToSecurity}}
:* [[Template:ColorSecurityRating]]
:: {{T|ColorSecurityRating}}
;Syntax
:: [[:File:member.png|member.png]] as default image.
 
; Syntax
<pre><nowiki>{{Infobox agent
<pre><nowiki>{{Infobox agent
| name        =  
| name        =  
| image      =  
| image      =  
| size        =
| type        =  
| caption    =
| level      =  
| type        =
| system      =  
| level      =
| beacon      =  
| system      =
| corporation =  
| beacon      =
| note        =  
| corporation =
| note        =
}}
}}
</nowiki></pre>
</nowiki></pre>
; Parameters
; Parameters
: <code>name</code>
:; name : The name of the Mission Agent.
:: The name of the Mission Agent.
:; image : The name of Mission Agent's image, with extension, but without parenthesis. When no file name is given, [[:File:member.png|member.png]] is used as the default.
: <code>image</code>
:; type : Mission Agent type can be either: '''Security''', '''Distribution''', '''Mining''', '''Epic Arc''' or '''COSMOS'''.
:: The name of Mission Agent image, with extension, but without parenthesis.
:; level : Mission Agent level, from 1 to 5.
: <code>size</code>
:; system : The name of the System where the Mission Agent is located.
:: <code>image</code> size. Leave blank unless you have a very good reason. Use sparingly!
:; beacon : The name of the Beacon where the Mission Agent is located.
: <code>caption</code>
:; corporation : The name of the Corporation to which the Mission Agent belongs.
:: Caption under the image.
:; note : A special note about the Mission Agent.
: <code>type</code>
 
:: Mission Agent type can be either: '''Security''', '''Distribution''', '''Mining''', '''Epic Arc''' or '''COSMOS'''.
; Sample
: <code>level</code>
:: Mission Agent level, from 1 to 5.
: <code>system</code>
:: The name of the System where the Mission Agent is located.
: <code>beacon</code>
:: The name of the Beacon where the Mission Agent is located.
: <code>corporation</code>
:: The name of the Corporation to which the Mission Agent belongs.
: <code>note</code>
:: A special note about the Mission Agent.
;Sample output
{{Infobox agent
{{Infobox agent
| name        = Krester Rupptofs
| name        = Krester Rupptofs
Line 52: Line 43:
| corporation = Trust Partners
| corporation = Trust Partners
}}
}}
<pre><nowiki>{{Infobox agent
{{Code|<nowiki>{{Infobox agent
| name        = Krester Rupptofs
| name        = Krester Rupptofs
| image      = Krester Rupptofs.jpg
| image      = Krester Rupptofs.jpg
Line 60: Line 51:
| beacon      = Municipal Junkyard
| beacon      = Municipal Junkyard
| corporation = Trust Partners
| corporation = Trust Partners
}}</nowiki></pre>
}}</nowiki>}} gives...
;See also:
:* [[Template:Infobox CORE class]]


<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
<includeonly>[[Category:Infobox templates|agent]]<!-- Any categories for the template itself --></includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>