Difference between revisions of "Template:JaiTest"

From Masq
m
m
 
(80 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifexist:{{PAGENAME}}/Places|{{#vardefine:hasPlacesPage|true}}{{#vardefine:hasPlaces|true}}|}}
+
<div class="pc-sidebar"><span class="pc-header">'''Name:''' {{{name}}}</span><div id="infobox">
{{#ifexist:{{PAGENAME}}/Views|{{#vardefine:hasViewsPage|true}}{{#vardefine:hasViews|true}}|}}
+
{| align="center" valign=top
{{#ifeq:{{{place_name1}}}| | |{{#vardefine:hasPlaces|true}} }}
+
{{#if:{{{view_name1}}}|{{#vardefine:hasViews|true}}|}}
+
{{#if:{{{people_name1}}}|{{#vardefine:hasPeople|true}}|}}
+
{{#var:hasPlaces}} - {{#var:hasPlacespage}}
+
{| id="layoutTable" width=100%
+
 
|-
 
|-
| class="MainPageBG" width=100% |
+
| colspan="2" | [[Image:{{{info_pic|{{PAGENAME}}.jpg}}}|center|235px|border]]
{| width="100%" cellpadding="2" cellspacing="5"
+
 
|-
 
|-
! colspan=2 | Description
+
| '''Nationality:'''
! width=150px | Gallery
+
| {{{info_nationality}}} 
 
|-
 
|-
| colspan=2 style="padding: 1em;"| {{:{{PAGENAME}}/Description}}
+
| '''Occupation:'''
| rowspan=6 |
+
| {{{info_occupation}}}  
{{Gallery2
+
|gallerywidth=150px
+
|width=150
+
|height=150
+
|lines=1
+
{{#forargs: image | key | value | <nowiki/>
+
{{#!:
+
| Image:{{#var:value}}
+
}} }} }}
+
 
|-
 
|-
! Associated People
+
| '''Demeanor:'''
! width=200px| Logs
+
| {{{info_demeanor}}}
 
|-
 
|-
| style="padding: 1em;"|
+
| colspan="2" | <hr />
None
+
| style="padding: 1em;" width=250px| {{rplogs|ic}}
+
{{#if:{{#var:hasPlaces}}| {{#!:
+
 
|-
 
|-
! colspan=2 | Places
+
|'''Nicknames:'''
 +
| {{{info_nicknames}}}
 
|-
 
|-
| style="padding: 1em;" colspan=2 |  
+
| nowrap="nowrap" | '''Apparent Age:'''
{{#if:{{#var:hasPlacesPage}}|{{:{{PAGENAME}}/Places}}|{{#forargs: place_ | key | value |{{#switch: {{#sub:{{#var:key}}|0|4}} | name = {{#vardefine:theName|{{#var:value}} }}| desc = {{#vardefine:theDesc|{{#var:value}} }} '''{{#var:theName}}:'''<br />{{#var:theDesc}}<br /><br />}} }} }}  
+
| {{{info_apparent_age}}}{{#forargs: info_
}} | }}
+
| key
 
+
| value
 +
| {{#switch: {{#var:key}}
 +
| pic
 +
| nationality
 +
| occupation
 +
| demeanor
 +
| 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}}
 +
}} }} }}
 
|}
 
|}
<includeonly>[[Category: Grid]][[Category: Venues]]</includeonly>
+
</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
 +
| value
 +
| <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>

Latest revision as of 10:36, 6 May 2015

Name: {{{name}}}
Nationality: {{{info_nationality}}}
Occupation: {{{info_occupation}}}
Demeanor: {{{info_demeanor}}}

Nicknames: {{{info_nicknames}}}
Apparent Age: {{{info_apparent_age}}}
Quotes RP Hooks Logs
None yet!
Why not check out the Log Tutorial?
A Glimpse Within Physical Description Playlist Allies Gallery