Difference between revisions of "Template:Character"
| m | m | ||
| Line 1: | Line 1: | ||
| − | <includeonly><div style="text-align: center;">{{#ifeq: {{{handle}}}|Vacant|{{#ifeq: {{{showAvatar}}}| true |[[File:Avatar Static.jpg|100px|link=|alt={{{handle}}}|{{{handle}}}]]<br/>|}}|{{#ifeq: {{{showAvatar}}}| true |[[File:Avatar {{{handle}}}.{{{ | + | <includeonly><div style="text-align: center;">{{#ifeq: {{{handle}}}|Vacant|{{#ifeq: {{{showAvatar}}}| true |[[File:Avatar Static.jpg|100px|link=|alt={{{handle}}}|{{{handle}}}]]<br/>|}}|{{#ifeq: {{{showAvatar}}}| true |{{#ifexist: File:Avatar {{{1}}}.jpg|[[File:Avatar {{{handle}}}.jpg|100px|link=|alt={{{handle}}}|{{{handle}}}]]|[[File:Avatar {{{handle}}}.png|100px|link=|alt={{{handle}}}|{{{handle}}}]]}}<br/>|}}}}{{#if:{{{position|}}}|'''{{{position}}}'''<br/>|}}{{#ifeq: {{{showHandle}}}| true |{{ProfileLink|{{{handle}}}}<br/>}}|}}{{#if:{{{department|}}}|[[{{{department}}}]]<br/>|}}{{#ifexist:File:{{{rankInsignia}}}.png|[[File:{{{rankInsignia}}}.png|link=]]<br/>|}}{{#if:{{{ircNick |}}}|IRC: {{{ircNick }}}<br/>|}}</div></includeonly><noinclude> | 
| ===Usage=== | ===Usage=== | ||
| <pre><nowiki> | <pre><nowiki> | ||
| Line 8: | Line 8: | ||
| | extension =   | | extension =   | ||
| | department =   | | department =   | ||
| − | |  | + | | position =   | 
| | rankInsignia =   | | rankInsignia =   | ||
| | ircNick =   | | ircNick =   | ||
| }} | }} | ||
| − | Handle is required. | + | Shows the handle and optionally avatar, position, department, rank insignia or IRC nick. | 
| + | |||
| + | Handle is required, for a blank avatar insert ''Vacant'' as handle. | ||
| </nowiki></pre> | </nowiki></pre> | ||
| ===Examples=== | ===Examples=== | ||
| Line 39: | Line 41: | ||
| | showHandle = true | | showHandle = true | ||
| | showAvatar = true | | showAvatar = true | ||
| − | |||
| }} | }} | ||
| <br/> | <br/> | ||
| Line 46: | Line 47: | ||
| | showHandle = true | | showHandle = true | ||
| | showAvatar = true | | showAvatar = true | ||
| − | |  | + | | position = CEO | 
| − | |||
| }} | }} | ||
| <br/> | <br/> | ||
| Line 54: | Line 54: | ||
| | showHandle = true | | showHandle = true | ||
| | showAvatar = true | | showAvatar = true | ||
| − | |||
| | department = Ubrikkian Industries | | department = Ubrikkian Industries | ||
| }} | }} | ||
| Line 62: | Line 61: | ||
| | showHandle = true | | showHandle = true | ||
| | showAvatar = true | | showAvatar = true | ||
| − | |  | + | | position = Minister of State | 
| − | |||
| | department = Advisory Council | | department = Advisory Council | ||
| | ircNick = Descartes | | ircNick = Descartes | ||
Revision as of 06:55, 8 January 2016
Usage
{{Character
| handle = 
| showHandle = true|false
| showAvatar = true|false
| extension = 
| department = 
| position = 
| rankInsignia = 
| ircNick = 
}}
Shows the handle and optionally avatar, position, department, rank insignia or IRC nick.
Handle is required, for a blank avatar insert ''Vacant'' as handle.
Examples
Eleonore Silvermoon}


Eleonore Silvermoon}

CEO
Eleonore Silvermoon}


