Difference between revisions of "Template:Clonestate/doc"

From EVE University Wiki
Jump to: navigation, search
m (I can already see Evon visited the template docs without needing to read the history ;))
m (Latest edit (as of April 2022) results in a formatting error with any further text in line. Changed documentation sample to reflect this.)
Line 16: Line 16:
 
{{Clonestate|omega}}
 
{{Clonestate|omega}}
  
: {{Code|<nowiki>{{Clonestate|omega|test}}</nowiki>}} gives ...
+
: {{Code|<nowiki>{{Clonestate|omega|test}} test please ignore</nowiki>}} gives ...
{{Clonestate|omega|test}}
+
{{Clonestate|omega|test}} line please ignore
  
 
<includeonly>[[Category:Image templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
 
<includeonly>[[Category:Image templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 03:50, 2 August 2022

Description
This will place an icon about clone states and the relevant article link. Select either "alpha" or "omega". Text may be changed using parameter two.
Dependencies
uses:
Alpha.png Alpha.png
Omega.png Omega.png
Syntax
{{Clonestate|<state>|<alt text>}}
state - alpha or omega
alt text - Alternative text
Sample output
{{Clonestate|omega}}
gives ...

Omega.png Omega clone

{{Clonestate|omega|test}} test please ignore
gives ...

Omega.png test line please ignore