Difference between revisions of "Template:Character"

From Rebel Alliance Wiki
Jump to: navigation, search
m
m (Undo revision 7810 by Eleonore Silvermoon (talk))
 
(5 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
-->{{#ifexist:File:{{{rankInsignia}}}.png|[[File:{{{rankInsignia}}}.png|link=]]<br/>|}}<!--
 
-->{{#ifexist:File:{{{rankInsignia}}}.png|[[File:{{{rankInsignia}}}.png|link=]]<br/>|}}<!--
 
-->{{#if:{{{ircNick |}}}|IRC: {{{ircNick }}}<br/>|}}<!--
 
-->{{#if:{{{ircNick |}}}|IRC: {{{ircNick }}}<br/>|}}<!--
 +
        -->{{#if:{{{showDM |}}}|{{External Links|dm|{{{handle}}}|DM}}<br/>|}}<!--
 
--></div></includeonly><noinclude>
 
--></div></includeonly><noinclude>
 
===Usage===
 
===Usage===
Line 14: Line 15:
 
| showHandle = true|false
 
| showHandle = true|false
 
| showAvatar = true|false
 
| showAvatar = true|false
 +
| showDM = true|false
 
| department =  
 
| department =  
 
| position =  
 
| position =  
Line 130: Line 132:
 
| ircNick = Descartes
 
| ircNick = Descartes
 
}}
 
}}
 +
 +
In combination with the [[New Republic Positions|positions transclusion page]]:
 +
 +
<pre><nowiki>
 +
{{Character
 +
| handle = {{:New Republic Positions|MoS}}
 +
| showHandle = true
 +
| showAvatar = true
 +
| position = Minister of State
 +
| department = Advisory Council
 +
}}
 +
</nowiki></pre>
 +
{{Character
 +
| handle = {{:New Republic Positions|MoS}}
 +
| showHandle = true
 +
| showAvatar = true
 +
| showDM = true
 +
| position = Minister of State
 +
| department = Advisory Council
 +
}}
 +
  
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 17:13, 29 October 2018

Usage

{{Character
| handle = 
| showHandle = true|false
| showAvatar = true|false
| showDM = true|false
| department = 
| position = 
| rankInsignia = 
| ircNick = 
}}

Shows the handle and optionally avatar, position, department, rank insignia or IRC nick.

Avatars should be named Avatar <handle>.jpg, Avatar <handle>.gif, or Avatar <handle>.png.

Handle is required, for a blank avatar insert Vacant as handle.

Examples

{{Character
| handle = Vacant
}}
{{Character
| handle = Eleonore Silvermoon
}}
{{Character
| handle = Eleonore Silvermoon
| showHandle = true
}}

Eleonore Silvermoon
{{Character
| handle = Eleonore Silvermoon
| showHandle = false
| showAvatar = true
}}
Eleonore Silvermoon
{{Character
| handle = Eleonore Silvermoon
| showHandle = true
| showAvatar = true
}}
Eleonore Silvermoon
Eleonore Silvermoon
{{Character
| handle = Eleonore Silvermoon
| showHandle = true
| showAvatar = true
| position = CEO
}}
Eleonore Silvermoon
CEO
Eleonore Silvermoon
{{Character
| handle = Eleonore Silvermoon
| showHandle = true
| showAvatar = true
| department = Ubrikkian Industries
}}
Eleonore Silvermoon
Eleonore Silvermoon
Ubrikkian Industries
{{Character
| handle = Eli Descartes
| showHandle = true
| showAvatar = true
| position = Minister of State
| department = Advisory Council
| ircNick = Descartes
}}
Eli Descartes
Minister of State
Eli Descartes
Advisory Council
IRC: Descartes

In combination with the positions transclusion page:

{{Character
| handle = {{:New Republic Positions|MoS}}
| showHandle = true
| showAvatar = true
| position = Minister of State
| department = Advisory Council
}}
Vacant
Minister of State
Vacant
Advisory Council
DM