Difference between revisions of "Template:Clonestate"

From EVE University Wiki
Jump to: navigation, search
m (Extract doc. Make switch case insensitive.)
m (Switched ''includeonly'' tags back to ''onlyinclude'', as ''includeonly'' was causing formatting issues.)
Line 1: Line 1:
<includeonly>{{#switch: {{lc: {{{1}}} }}
+
<onlyinclude>{{#switch: {{lc: {{{1}}} }}
 
|omega = [[image:omega.png|16px|link=]]&nbsp;[[Clone_states#Omega_clones|{{{2|Omega clone}}}]]
 
|omega = [[image:omega.png|16px|link=]]&nbsp;[[Clone_states#Omega_clones|{{{2|Omega clone}}}]]
 
|alpha = [[image:alpha.png|16px|link=]]&nbsp;[[Clone_states#Alpha_clones|{{{2|Alpha clone}}}]]
 
|alpha = [[image:alpha.png|16px|link=]]&nbsp;[[Clone_states#Alpha_clones|{{{2|Alpha clone}}}]]
 
| ''No clone state selected!''
 
| ''No clone state selected!''
}}</includeonly>
+
}}</onlyinclude>
 
<noinclude>{{Documentation}}</noinclude>
 
<noinclude>{{Documentation}}</noinclude>

Revision as of 03:53, 2 August 2022

No clone state selected!

Template documentation (for the above template, sometimes hidden or invisible)
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}} line please ignore
gives ...
Omega.png test line please ignore
Visit Template:Clonestate/doc to edit this text! (How does this work?) (Refresh this text - why?)