Difference between revisions of "Template:JaiTest"
From Masq
m |
|||
| (66 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | ''' | + | <div class="pc-sidebar"><span class="pc-header">'''Name:''' {{{name}}}</span><div id="infobox"> |
| − | + | {| align="center" valign=top | |
| − | {{#forargs: | + | |- |
| + | | colspan="2" | [[Image:{{{info_pic|{{PAGENAME}}.jpg}}}|center|235px|border]] | ||
| + | |- | ||
| + | | '''Nationality:''' | ||
| + | | {{{info_nationality}}} | ||
| + | |- | ||
| + | | '''Occupation:''' | ||
| + | | {{{info_occupation}}} | ||
| + | |- | ||
| + | | '''Demeanor:''' | ||
| + | | {{{info_demeanor}}} | ||
| + | |- | ||
| + | | colspan="2" | <hr /> | ||
| + | |- | ||
| + | |'''Nicknames:''' | ||
| + | | {{{info_nicknames}}} | ||
| + | |- | ||
| + | | nowrap="nowrap" | '''Apparent Age:''' | ||
| + | | {{{info_apparent_age}}}{{#forargs: info_ | ||
| key | | key | ||
| value | | value | ||
| − | |<nowiki/> | + | | {{#switch: {{#var:key}} |
| − | {{ | + | | pic |
| − | }} | + | | nationality |
| − | + | | occupation | |
| − | '' | + | | demeanor |
| − | {{#forargs: | + | | nicknames |
| + | | apparent_age= | ||
| + | | #default=<nowiki/> | ||
| + | {{#!: | ||
| + | |- | ||
| + | | nowrap="nowrap" | '''{{#if:{{#pos:{{#var:key}}|_}}|{{ucfirst:{{#explode:{{#var:key}}|_|0}}}} {{ucfirst:{{#explode:{{#var:key}}|_|1}}}}|{{ucfirst:{{#var:key}}}}}}:''' | ||
| + | | {{#var:value}} | ||
| + | }} }} }} | ||
| + | |} | ||
| + | </div> | ||
| + | {{#ifeq:{{{hide_quotes}}}|yes||<span class="pc-header">{{{quotes_header|Quotes}}}</span><div id="quotes">{{#if:{{{quote_1|}}} | ||
| + | |{{#forargs: quote_ | ||
| + | | key | ||
| + | | value | ||
| + | | {{#ifeq:{{#sub:{{#var:key}}|-2}}|by|<div class="quote">"{{#var:quote}}"</div><div class="attribution">-- ''{{#var:value}}''</div>|{{#vardefine:quote|{{#var:value}}}}}} | ||
| + | }}|{{:{{PAGENAME}}/Quotes}}}}</div>}} | ||
| + | {{#ifeq:{{{hide_hooks}}}|yes||<span class="pc-header">{{{hooks_header|RP Hooks}}}</span><div id="rphooks">{{#if:{{{hook_1|}}} | ||
| + | |{{#forargs: hook_ | ||
| key | | key | ||
| value | | value | ||
| <nowiki/> | | <nowiki/> | ||
| − | + | * {{#var:value}} | |
}} | }} | ||
| + | |{{:{{PAGENAME}}/RP_Hooks}}}} | ||
| + | </div>}} | ||
| + | {{#ifeq:{{{hide_logs}}}|yes||<span class="pc-header">{{{logs_header|Logs}}}</span><div id="rplogs">{{rplogs|{{{log_dating}}}}}</div>}} | ||
| + | </div> | ||
| + | <div class="pc-mainbar"><span class="pc-header">{{{introduction_header|A Glimpse Within}}}</span><div id="introduction">[[Image:{{{comic|{{PAGENAME}}comic.jpg}}}{{#if:{{{comic_text|}}}|{{#!:|}}{{{comic_text}}}|}}|center]]</div> | ||
| + | {{#ifeq:{{{hide_description}}}|yes||<span class="pc-header">{{{description_header|Physical Description}}}</span><div id="description">{{{description|{{:{{PAGENAME}}/Description}}}}}</div>}} | ||
| + | {{#ifeq:{{{hide_playlist}}}|yes||<span class="pc-header">{{{playlist_header|Playlist}}}</span><div id="playlist">{{:{{PAGENAME}}/Playlist}}</div>}} | ||
| + | {{#ifeq:{{{hide_allies}}}|yes||<span class="pc-header">{{{allies_header|Allies}}}</span><div id="allies">{{:{{PAGENAME}}/Allies}}</div>}} | ||
| + | {{#ifeq:{{{hide_gallery}}}|yes||<span class="pc-header">{{{gallery_header|Gallery}}}</span><div id="gallery">{{:{{PAGENAME}}/Gallery}}</div>}} | ||
| + | {{#ifeq:{{{hide_ooc}}}|yes||{{#ifexist:{{PAGENAME}}/{{{ooc_page|OOC}}}|<span class="pc-header">{{{ooc_header|OOC Quotes}}}</span><div id="oocquotes">{{:{{PAGENAME}}/{{{ooc_page|OOC}}}}}</div>|}} }} | ||
| + | </div> | ||
| + | <includeonly>{{#ifeq:{{#sub:{{PAGENAME}}|-3}}|NPC|[[Category:NPC]]|[[Category:PC]]}}</includeonly> | ||