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

From EVE University Wiki
Jump to: navigation, search
m
m (Preparation for the change of the template. Remove non-functioning parameter. Remove unwanted parameter.)
 
(5 intermediate revisions by 2 users 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:InfoboxCSS]]
+
:: {{T|CorporationToFaction}}
:* [[Template:CorporationToFaction]]
+
:: {{T|SystemToRegion}}
:* [[Template:SystemToRegion]]
+
:: {{T|SystemToSecurity}}
:* [[Template:SystemToSecurity]]
+
:: {{T|ColorSecurityRating}}
:* [[Template:ColorSecurityRating]]
+
:: [[:File:member.png|member.png]] as default image.
;Syntax
+
 
 +
; 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 53: 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 61: Line 51:
 
| beacon      = Municipal Junkyard
 
| beacon      = Municipal Junkyard
 
| corporation = Trust Partners
 
| corporation = Trust Partners
}}</nowiki></pre>
+
}}</nowiki>}} gives...
  
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
+
<includeonly>[[Category:Infobox templates]]<!-- Any categories for the template itself --></includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
+
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 17:28, 13 October 2022

Description
This template is used to create an Infobox for Mission agents.
Dependencies
Uses
{{Infobox}}
{{CorporationToFaction}}
{{SystemToRegion}}
{{SystemToSecurity}}
{{ColorSecurityRating}}
member.png as default image.
Syntax
{{Infobox agent
| name        = 
| image       = 
| type        = 
| level       = 
| system      = 
| beacon      = 
| corporation = 
| note        = 
}}
Parameters
name
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, member.png is used as the default.
type
Mission Agent type can be either: Security, Distribution, Mining, Epic Arc or COSMOS.
level
Mission Agent level, from 1 to 5.
system
The name of the System where the Mission Agent is located.
beacon
The name of the Beacon where the Mission Agent is located.
corporation
The name of the Corporation to which the Mission Agent belongs.
note
A special note about the Mission Agent.
Sample
Krester Rupptofs
Krester Rupptofs.jpg
Type COSMOS
Level 3
Location Deltole (0.5)
Sinq Laison
Beacon Municipal Junkyard
Affiliation Trust Partners
Thukker Tribe
{{Infobox agent | name = Krester Rupptofs | image = Krester Rupptofs.jpg | type = COSMOS | level = 3 | system = Deltole | beacon = Municipal Junkyard | corporation = Trust Partners }}

gives...