Difference between revisions of "Template:Apocalypse PC"

From Modern Enigma Society 2020 Wiki
Jump to navigation Jump to search
 
(27 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">{{#if: {{{telos|}}}|[[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/>
{{#css:
+
{{#if: {{{pcgroup3|}}}|[[Category:{{{pcgroup3}}}]]}}<nowiki/>
.mw-body h1.firstHeading {
+
{{#if: {{{region|}}}|[[Category:{{{region}}}]]}}<nowiki/>
  font-family: "Carter One", cursive;
+
{{#if: {{{domain|}}}|[[Category:{{{domain}}}]]}}<nowiki/>
  color: #a18f2b;
+
{{#if: {{{vss|}}}|[[Category:{{{vss}}}]]}}<nowiki/>
  font-weight: bold;
+
[[Category:Apocalypse PC]]{{Apocalypse CSS}}<nowiki/></includeonly>
  font-size: 22px;
 
}
 
#apoc-pc-container-container {
 
  background-color: #000;
 
  padding: 5px;
 
}
 
#apoc-pc-container {
 
  background-color:#000;
 
  border-style:solid;
 
  border-color:#a18f2b;
 
}
 
#apoc-pc-title {
 
  font-family: "Trade Winds", cursive;
 
  font-size:2.6em;
 
  line-height:120px;
 
  text-align:center;
 
  font-weight:bolder;
 
  color:#a18f2b;
 
  margin:20px;
 
  vertical-align:middle;
 
}
 
#apoc-pc-container h2, .my-h2 {
 
  font-family: "Carter One", cursive;
 
  color: #a18f2b;
 
  font-weight: bold;
 
  size: 18px;
 
}
 
#apoc-pc-container h3, .my-h3 {
 
  font-family: "Carter One", cursive;
 
  color: #a18f2b;
 
  font-weight: bold;
 
  size: 16px
 
}
 
#apoc-pc-container p, #apoc-pc-container td, #apoc-pc-container th, #apoc-pc-container li {
 
  font-size: 16px;
 
  font-family: 'Arial', sans-serif;
 
  color: #D7DBDD;
 
  vertical-align:top;
 
  text-align:left;
 
}
 
#apoc-pc-badges {
 
  float:right;
 
  margins:20px;
 
}
 
#apoc-pc-icvitals, #pc-furtherinfo, #pc-oocvitals {
 
  margin: 20px;
 
}
 
#apoc-pc-portrait, #pc-furtherinfo-pic, #pc-oocvitals-pic {
 
  float:right;
 
  clear:both;
 
  max-width: 50%;
 
  margin-left: 20px;
 
  margin-bottom: 20px;
 
}
 
#apoc-pc-portrait img, #pc-furtherinfo-pic img, #pc-oocvitals-pic img {
 
  height: auto;
 
  max-width: 100%;
 
}
 
#pc-oocvitals {
 
  background-color:#222;
 
  border-style:solid;
 
  border-color:#a18f2b;
 
  padding:5px;
 
}
 
#apoc-pc-icvitals-table, #apoc-pc-oocvitals-table, th {
 
  vertical-align: top;
 
  text-align:left;
 
}
 
#apoc-pc-container a:link, #apoc-pc-container a.external:link {
 
  color: #817222;
 
}
 
#apoc-pc-container a:visited, #apoc-pc-container a.external:visited {
 
  color: #a18f2b;
 
}
 
#apoc-pc-container a:hover, #apoc-pc-container a.external:hover {
 
  color: #cbb63e;
 
}
 
#apoc-pc-container a:active, #apoc-pc-container a.external:active {
 
  color: #d8c86e;
 
}
 
#apoc-pc-container a.new, #apoc-pc-container a.new:visited {
 
  color: #8d2ba1;
 
}
 
.clearfix::after {
 
  content: "";
 
  clear: both;
 
  display: table;
 
}
 
}}
 
</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.