Difference between revisions of "Template:PC"

From Modern Enigma Society 2020 Wiki
Jump to navigation Jump to search
(Created page with "<div id="masq-pc-furtherinfo" class="clearfix"> <span id="masq-pc-furtherinfo-heading" class="my-h2">Further Information</span> {{#if: {{{furtherinfopic|}}}|<div id="masq-pc-f...")
 
Line 1: Line 1:
<div id="masq-pc-furtherinfo" class="clearfix">
+
This template is called by the [[Template:Masquerade PC]], [[Template:Apocalypse PC]], and similar templates. It's all the bits in the Further Info and OOC Vitals sections of PC pages.
<span id="masq-pc-furtherinfo-heading" class="my-h2">Further Information</span>
+
<includeonly><div id="pc-furtherinfo" class="clearfix">
{{#if: {{{furtherinfopic|}}}|<div id="masq-pc-furtherinfo-pic">[[File:{{{furtherinfopic}}}|300px]]</div>}}{{#if:{{{desc|}}}|<div id="masq-pc-desc"><span id="masq-pc-desc-title" class="my-h3">Description</span>
+
<span id="pc-furtherinfo-heading" class="my-h2">Further Information</span>
 +
{{#if: {{{furtherinfopic|}}}|<div id="pc-furtherinfo-pic">[[File:{{{furtherinfopic}}}|300px]]</div>}}{{#if:{{{desc|}}}|<div id="pc-desc"><span id="pc-desc-title" class="my-h3">Description</span>
 
{{{desc}}}
 
{{{desc}}}
 
</div>}}<nowiki/>
 
</div>}}<nowiki/>
{{#if:{{{timeline|}}}|<div id="masq-pc-timeline"><span id="masq-pc-timeline-title" class="my-h3">Timeline</span>
+
{{#if:{{{timeline|}}}|<div id="pc-timeline"><span id="pc-timeline-title" class="my-h3">Timeline</span>
 
{{{timeline}}}
 
{{{timeline}}}
 
</div>}}<nowiki/>
 
</div>}}<nowiki/>
{{#if:{{{bio|}}}|<div id="masq-pc-bio"><span id="masq-pc-bio-title" class="my-h3">Bio</span>
+
{{#if:{{{bio|}}}|<div id="pc-bio"><span id="pc-bio-title" class="my-h3">Bio</span>
 
{{{bio}}}
 
{{{bio}}}
 
</div>}}<nowiki/>
 
</div>}}<nowiki/>
<div id="masq-pc-rumors"><span id="masq-pc-rumors-title" class="my-h3">Rumors</span>
+
<div id="pc-rumors"><span id="pc-rumors-title" class="my-h3">Rumors</span>
 
{{#if: {{{rumors|}}}|{{{rumors}}}<br>}}<nowiki/>
 
{{#if: {{{rumors|}}}|{{{rumors}}}<br>}}<nowiki/>
 
{{#ifexist: {{PAGENAME}} Rumors|{{:{{PAGENAME}} Rumors}}<br>}}<nowiki/>
 
{{#ifexist: {{PAGENAME}} Rumors|{{:{{PAGENAME}} Rumors}}<br>}}<nowiki/>
{{#formlink:form=Masquerade PC Add Rumors|target={{PAGENAMEE}} Rumors|popup|reload|link text=Edit Rumors: Add your own!}}
+
{{#formlink:form=Add Rumors|target={{PAGENAMEE}} Rumors|popup|reload|link text=Edit Rumors: Add your own!}}
 
</div>
 
</div>
<div id="masq-pc-quotes"><span id="masp-pc-quotes-title" class="my-h3">Quotes</span>
+
<div id="pc-quotes"><span id="pc-quotes-title" class="my-h3">Quotes</span>
 
{{#if: {{{quotes|}}}|{{{quotes}}}<br>}}<nowiki/>
 
{{#if: {{{quotes|}}}|{{{quotes}}}<br>}}<nowiki/>
 
{{#ifexist: {{PAGENAME}} Quotes|{{:{{PAGENAME}} Quotes}}<br>}}<nowiki/>
 
{{#ifexist: {{PAGENAME}} Quotes|{{:{{PAGENAME}} Quotes}}<br>}}<nowiki/>
{{#formlink:form=Masquerade PC Add Quotes|target={{PAGENAMEE}} Quotes|popup|reload|link text=Edit Quotes: Add your own!}}
+
{{#formlink:form=Add Quotes|target={{PAGENAMEE}} Quotes|popup|reload|link text=Edit Quotes: Add your own!}}
 
</div>
 
</div>
 
</div>
 
</div>
  
<div id="masq-pc-oocvitals" class="clearfix"><span id="masq-pc-oocvitals-title" class="my-h2">OOC Information</span>
+
<div id="pc-oocvitals" class="clearfix"><span id="pc-oocvitals-title" class="my-h2">OOC Information</span>
{{#if: {{{oocvitalspic|}}}|<div id="masq-pc-oocvitals-pic">[[File:{{{oocvitalspic}}}|300px]]</div>}}
+
{{#if: {{{oocvitalspic|}}}|<div id="pc-oocvitals-pic">[[File:{{{oocvitalspic}}}|300px]]</div>}}
{| id="masq-pc-oocvitals-table"
+
{| id="pc-oocvitals-table"
 
!scope="row"|Player
 
!scope="row"|Player
 
| [mailto:{{{playeremail}}} {{{player}}}]
 
| [mailto:{{{playeremail}}} {{{player}}}]
Line 43: Line 44:
 
| {{#ifeq: {{{notvst}}}|Yes|[mailto:{{{stemail}}} {{{st}}}]|{{#ifexist:{{{vss}}} VST Email|[mailto:{{:{{{vss}}} VST Email}} {{:{{{vss}}} VST}}]|[mailto:{{{stemail}}} {{{st}}}]}}}}
 
| {{#ifeq: {{{notvst}}}|Yes|[mailto:{{{stemail}}} {{{st}}}]|{{#ifexist:{{{vss}}} VST Email|[mailto:{{:{{{vss}}} VST Email}} {{:{{{vss}}} VST}}]|[mailto:{{{stemail}}} {{{st}}}]}}}}
 
|}
 
|}
</div>
+
</div></includeonly>

Revision as of 15:41, 20 October 2020

This template is called by the Template:Masquerade PC, Template:Apocalypse PC, and similar templates. It's all the bits in the Further Info and OOC Vitals sections of PC pages.