Difference between revisions of "Template:Apocalypse PC"

From Modern Enigma Society 2020 Wiki
Jump to navigation Jump to search
 
(26 intermediate revisions by one other user not shown)
Line 10: Line 10:
 
|type=
 
|type=
 
|tribe=
 
|tribe=
 +
|fera=
 +
|telos=
 +
|ronin=
 
|camp=
 
|camp=
 
|auspice=
 
|auspice=
 
|breed=
 
|breed=
 
|rank=
 
|rank=
|fera=
 
 
|feracamp=
 
|feracamp=
 
|feraauspice=
 
|feraauspice=
Line 23: Line 25:
 
|kincamp=
 
|kincamp=
 
|bitten=
 
|bitten=
|telos=
 
 
|sept=
 
|sept=
 
|faction=
 
|faction=
Line 58: Line 59:
  
 
Edit the page or click "View Source" to see the template text.</noinclude>
 
Edit the page or click "View Source" to see the template text.</noinclude>
<includeonly>{{#default_form:Apocalypse PC}}__NOTOC__ __NOEDITSECTION__<div id="apoc-pc-container-container"><div id="apoc-pc-container">
+
<includeonly>{{#default_form:Apocalypse PC}}__NOTOC__ __NOEDITSECTION__<div id="apoc-container-frame"><div id="apoc-container">
<div id="apoc-pc-title" class="clearfix">{{#ifeq: {{{deednametitle|}}}|Yes|{{{deedname}}}|{{{charactername}}}}}<div id="apoc-pc-badges">{{#ifeq: {{{telos|}}}|Yes|[[File:Telos.PNG|100px]]}}{{#ifeq: {{{type|}}}|Kinfolk|[[File:Kinfolk.PNG]]}}{{#if: {{{rank|}}}|[[File:{{{rank}}}.PNG|100px]]}}{{#if: {{{auspice|}}}|[[File:{{{auspice}}}.PNG|100px]]}}{{#if: {{{tribe|}}}|[[File:{{{tribe}}}.PNG|100px]]}}{{#if: {{{fera|}}}|[[File:{{{fera}}}.PNG|100px]]}}</div></div>
+
<div id="apoc-title" class="clearfix">{{#ifeq: {{{deednametitle|}}}|Yes|{{{deedname}}}|{{{charactername}}}}}
<div id="apoc-pc-icvitals" class="clearfix">
+
<div id="apoc-badges">{{#ifeq: {{{telos|}}}|Yes|[[File:Telos.png|100px]]}}<nowiki/>
   <div id="apoc-pc-portrait-box">
+
{{#ifeq: {{{ronin|}}}|[[File:Ronin.png|100px]]}}<nowiki/>
     <div id="apoc-pc-portrait">
+
{{#ifeq: {{{type|}}}|Kinfolk|[[File:Kinfolk.png|100px]]}}<nowiki/>
 +
{{#if: {{{rank|}}}|[[File:{{{rank}}}.png|100px]]}}<nowiki/>
 +
{{#if: {{{tribe|}}}|[[File:{{{tribe}}}.png|100px]]}}<nowiki/>
 +
{{#if: {{{auspice|}}}|
 +
  {{#ifeq: {{{auspice}}}|Ragabash (Garou)|[[File:Ragabash.png|100px]]|
 +
  [[File:{{{auspice}}}.png|100px]]}}}}<nowiki/>
 +
{{#if: {{{fera|}}}|[[File:{{{fera}}}.png|100px]]}}<nowiki/>
 +
{{#if: {{{breed|}}}|
 +
  {{#ifeq: {{{breed}}}|Homid (Garou)|[[File:Homid.png|100px]]|
 +
    {{#ifeq: {{{breed}}}|Lycan (Garou)|[[File:Metis.png|100px]]|[[File:{{{breed}}}.png|100px]]}}
 +
  }}
 +
}}<nowiki/>
 +
{{#ifeq: {{{lostcub|}}}|Yes|[[File:Lost Cub.png|100px]]}}<nowiki/></div></div>
 +
<div id="apoc-icvitals" class="clearfix">
 +
   <div id="apoc-portrait-box">
 +
     <div id="apoc-portrait">
 
{{#if: {{{portrait|}}}|[[File:{{{portrait}}}]]}}
 
{{#if: {{{portrait|}}}|[[File:{{{portrait}}}]]}}
 
     </div>
 
     </div>
 
   </div>
 
   </div>
{| id="apoc-pc-icvitals-table"
+
{| id="apoc-icvitals-table"
 
{{#ifeq: {{{deednametitle|}}}|Yes|<nowiki/>
 
{{#ifeq: {{{deednametitle|}}}|Yes|<nowiki/>
 
{{!}}-
 
{{!}}-
Line 91: Line 107:
 
!scope="row"{{!}}Tribe
 
!scope="row"{{!}}Tribe
 
{{!}} [[:Category:{{{tribe}}}|{{{tribe}}}]]
 
{{!}} [[:Category:{{{tribe}}}|{{{tribe}}}]]
 +
}}{{#ifeq: {{{telos|}}}|Yes|<nowiki/>
 +
{{!}}-
 +
!scope="row"{{!}}Telos
 +
}}{{#ifeq: {{{ronin|}}}|Yes|<nowiki/>
 +
{{!}}-
 +
!scope="row"{{!}}[[:Category:Ronin]]
 
}}{{#if: {{{camp|}}}|<nowiki/>
 
}}{{#if: {{{camp|}}}|<nowiki/>
 
{{!}}-
 
{{!}}-
Line 98: Line 120:
 
{{!}}-
 
{{!}}-
 
!scope="row"{{!}}Auspice
 
!scope="row"{{!}}Auspice
{{!}} [[:Category:{{{auspice}}}|{{{auspice}}}]]
+
{{!}} {{#ifeq: {{{auspice}}}|Ragabash (Garou)|[[:Category:Ragabash (Garou)|Ragabash]]|[[:Category:{{{auspice}}}|{{{auspice}}}]]}}
 
}}{{#if: {{{breed|}}}|<nowiki/>
 
}}{{#if: {{{breed|}}}|<nowiki/>
 
{{!}}-
 
{{!}}-
 
!scope="row"{{!}}Breed
 
!scope="row"{{!}}Breed
{{!}} [[:Category:{{{breed}}}|{{{breed}}}]]
+
{{!}} {{#switch: {{{breed}}}|Homid (Garou)=[[:Category:Homid (Garou)|Homid]]|Lycan (Garou)=[[:Category:Lycan (Garou)|Lycan]]|[[:Category:{{{breed}}}|{{{breed}}}]]}}
 
}}{{#if: {{{rank|}}}|<nowiki/>
 
}}{{#if: {{{rank|}}}|<nowiki/>
 
{{!}}-
 
{{!}}-
Line 137: Line 159:
 
}}{{#ifeq: {{{bitten|}}}|Yes|<nowiki/>
 
}}{{#ifeq: {{{bitten|}}}|Yes|<nowiki/>
 
{{!}}-
 
{{!}}-
!scope="row"{{!}}Bitten
+
!scope="row"{{!}}[[:Category:Bitten]]
}}{{#ifeq: {{{telos|}}}|Yes|<nowiki/>
+
}}{{#ifeq: {{{lostcub|}}}|Yes|<nowiki/>
 
{{!}}-
 
{{!}}-
!scope="row"{{!}}Telos
+
!scope="row"{{!}}[[:Category:Lost Cub]]
 
}}{{#if: {{{sept|}}}|<nowiki/>
 
}}{{#if: {{{sept|}}}|<nowiki/>
 
{{!}}-
 
{{!}}-
Line 148: Line 170:
 
{{!}}-
 
{{!}}-
 
!scope="row"{{!}}Faction
 
!scope="row"{{!}}Faction
{{!}} {{#arraymap:{{{faction|}}}|,|x|x|<br>}}
+
{{!}} {{#arraymap:{{{faction|}}}|,|x|[[:Category:x|x]]|<br>}}
 
}}{{#if: {{{pcgroup1|}}}|<nowiki/>
 
}}{{#if: {{{pcgroup1|}}}|<nowiki/>
 
{{!}}-
 
{{!}}-
Line 168: Line 190:
 
</div>
 
</div>
  
<div class="apoc-pc-divider">
+
<div class="apoc-divider">
 
</div>
 
</div>
  
Line 188: Line 210:
 
|st={{{st|}}}
 
|st={{{st|}}}
 
|stemail={{{stemail|}}}
 
|stemail={{{stemail|}}}
}}
+
}}</div></div>{{#ifeq: {{{type|}}}|Kinfolk|[[Category:Kinfolk]]}}<nowiki/>
</div></div>
+
{{#if: {{{tribe|}}}|[[Category:{{{tribe}}}]]}}<nowiki/>
{{#ifeq: {{{type|}}}|Kinfolk|[[Category:Kinfolk]]}}
+
{{#if: {{{fera|}}}|[[Category:{{{fera}}}]]}}<nowiki/>
{{#if: {{{tribe|}}}|[[Category:{{{tribe}}}]]}}
+
{{#ifeq: {{{telos|}}}|Yes|[[Category:Telos]]}}<nowiki/>
{{#if: {{{fera|}}}|[[Category:{{{fera}}}]]}}
+
{{#ifeq: {{{ronin|}}}|Yes|[[Category:Ronin]]}}<nowiki/>
{{#if: {{{camp|}}}|[[Category:{{{camp}}}]]}}
+
{{#ifeq: {{{bitten|}}}|Yes|[[Category:Bitten]]}}<nowiki/>
{{#if: {{{auspice|}}}|[[Category:{{{auspice}}}]]}}
+
{{#ifeq: {{{lostcub|}}}|Yes|[[Category:Lost Cub]]}}<nowiki/>
{{#if: {{{breed|}}}|[[Category:{{{breed}}}]]}}
+
{{#if: {{{camp|}}}|[[Category:{{{camp}}}]]}}<nowiki/>
{{#if: {{{rank|}}}|[[Category:{{{rank}}}]]}}
+
{{#if: {{{auspice|}}}|[[Category:{{{auspice}}}]]}}<nowiki/>
{{#if: {{{sept|}}}|[[Category:{{{sept}}}]]}}
+
{{#if: {{{feraauspice|}}}|[[Category:{{{feraauspice}}}]]}}<nowiki/>
{{#if: {{{pcgroup1|}}}|[[Category:{{{pcgroup1}}}]]}}
+
{{#if: {{{breed|}}}|[[Category:{{{breed}}}]]}}<nowiki/>
{{#if: {{{pcgroup2|}}}|[[Category:{{{pcgroup2}}}]]}}
+
{{#if: {{{ferabreed|}}}|[[Category:{{{ferabreed}}}]]}}<nowiki/>
{{#if: {{{pcgroup3|}}}|[[Category:{{{pcgroup3}}}]]}}
+
{{#if: {{{rank|}}}|[[Category:{{{rank}}}]]}}<nowiki/>
{{#if: {{{region|}}}|[[Category:{{{region}}}]]}}
+
{{#if: {{{sept|}}}|[[Category:{{{sept}}}]]}}<nowiki/>
{{#if: {{{domain|}}}|[[Category:{{{domain}}}]]}}
+
{{#if: {{{faction|}}}|{{#arraymap:{{{faction|}}}|,|x|[[Category:x]]|<br>}}}}<nowiki/>
{{#if: {{{vss|}}}|[[Category:{{{vss}}}]]}}
+
{{#if: {{{pcgroup1|}}}|[[Category:{{{pcgroup1}}}]]}}<nowiki/>
[[Category:Apocalypse PC]]
+
{{#if: {{{pcgroup2|}}}|[[Category:{{{pcgroup2}}}]]}}<nowiki/>
{{Apocalypse CSS}}
+
{{#if: {{{pcgroup3|}}}|[[Category:{{{pcgroup3}}}]]}}<nowiki/>
</includeonly>
+
{{#if: {{{region|}}}|[[Category:{{{region}}}]]}}<nowiki/>
 +
{{#if: {{{domain|}}}|[[Category:{{{domain}}}]]}}<nowiki/>
 +
{{#if: {{{vss|}}}|[[Category:{{{vss}}}]]}}<nowiki/>
 +
[[Category:Apocalypse PC]]{{Apocalypse CSS}}<nowiki/></includeonly>

Latest revision as of 18:07, 3 November 2022

This is the "Apocalypse PC" template, used for pages defining Apocalypse 2021 player characters. It should be called in the following format:

{{Apocalypse PC
|charactername=
|deedname=
|deednametitle=
|portrait=
|characterpronouns=
|type=
|tribe=
|fera=
|telos=
|ronin=
|camp=
|auspice=
|breed=
|rank=
|feracamp=
|feraauspice=
|ferabreed=
|ferarank=
|kintribe=
|kinfera=
|kincamp=
|bitten=
|sept=
|faction=
|position=
|pcgroup1=
|pcgroup1type=
|pcgroup2=
|pcgroup2type=
|pcgroup3=
|pcgroup3type=
|furtherinfopic=
|desc=
|timeline=
|bio=
|rumors=
|quotes=
|oocvitalspic=
|player=
|playerpronouns=
|playeremail=
|mesnumber=
|region=
|domain=
|vss=
|st= 
|stemail=
}}

The following parameters are required: charactername, player, playeremail, mesnumber, vss, domain, st, stemail

All other parameters are optional and can be excluded without causing any problems with the display of the template.

If the page for the VSS the PC is assigned to has been created, and the "VST" and "VST Email" pages have been defined for that VSS, those values will override whatever is given to this template for the 'st' and 'stemail' parameters. This is to prevent PC pages from having out-of-date info for the VST, since most players aren't going to update their PC page just because they have a new VST. If your VSS page has out-of-date info that's overriding the correct info on your PC page, go to the VSS page and click "Click here to edit" then edit it. Yes, you're allowed to touch that, as long as you're updating it with correct information.

Edit the page or click "View Source" to see the template text.