Difference between revisions of "Template:PC"

From End to Dawn
Jump to navigation Jump to search
 
(19 intermediate revisions by the same user not shown)
Line 45: Line 45:
 
========================= -->
 
========================= -->
 
<div id="masq-title" class="clearfix">
 
<div id="masq-title" class="clearfix">
  <span id="my-title">{{{name|{{PAGENAME}}}}}</span>
+
<span id="my-title" style="display: block; text-align: center; font-size: 35px; font-weight: bold;">
 +
{{{name|{{PAGENAME}}}}}
 +
</span>
  
  <div id="masq-badges">
+
<div id="masq-badges">
    {{#if: {{{clan|}}} | [[File:{{{clan}}}.png|100px]] }}
+
{{#if: {{{clan|}}} | [[File:{{{clan}}}.png|100px]] }}
    {{#if: {{{sect|}}} | [[File:{{{sect}}}.png|100px]] }}
+
{{#if: {{{sect|}}} | [[File:{{{sect}}}.png|100px]] }}
 
   </div>
 
   </div>
 
</div>
 
</div>
Line 58: Line 60:
 
<div id="masq-icvitals" class="clearfix">
 
<div id="masq-icvitals" class="clearfix">
  
  <div id="masq-portrait-box">
+
<div id="masq-portrait-box" style="background:none!important; padding:0!important; border:none!important;">
    <div id="masq-portrait">
+
<div id="masq-portrait" style="background:none!important; padding:0!important; border:none!important;">
      {{#if: {{{portrait|}}}
+
{{#if: {{{portrait|}}}
        | [[File:{{{portrait}}}|400px]]
+
| [[File:{{{portrait}}}|400px]]
        | {{#ifexist: File:{{PAGENAME}}.png
+
| {{#ifexist: File:{{PAGENAME}}.png
            | [[File:{{PAGENAME}}.png|400px]]
+
| [[File:{{PAGENAME}}.png|400px]]
            | {{#ifexist: File:{{PAGENAME}}.jpg
+
| {{#ifexist: File:{{PAGENAME}}.jpg
                | [[File:{{PAGENAME}}.jpg|400px]]
+
| [[File:{{PAGENAME}}.jpg|400px]]
                | {{#ifexist: File:{{PAGENAME}}.jpeg
+
| {{#ifexist: File:{{PAGENAME}}.jpeg
                    | [[File:{{PAGENAME}}.jpeg|400px]]
+
| [[File:{{PAGENAME}}.jpeg|400px]]
                    | {{#ifexist: File:{{PAGENAME}}.gif
+
| {{#ifexist: File:{{PAGENAME}}.gif
                        | [[File:{{PAGENAME}}.gif|400px]]
+
| [[File:{{PAGENAME}}.gif|400px]]
                        | {{#ifexist: File:{{PAGENAME}}.webp
+
| {{#ifexist: File:{{PAGENAME}}.webp
                            | [[File:{{PAGENAME}}.webp|400px]]
+
| [[File:{{PAGENAME}}.webp|400px]]
                            | [[File:Placeholder.png|400px]]
+
| [[File:Placeholder.png|400px]]
                          }}
+
}}
                      }}
+
}}
                  }}
+
}}
              }}
+
}}
          }}
+
}}
      }}
+
}}
    </div>
+
</div>
  </div>
+
</div>
 +
 
 +
{| id="masq-icvitals-table"
 +
|-
 +
! scope="row" | Pronouns
 +
| {{#if: {{{pronouns|}}}|{{{pronouns}}}|}}
 +
 
 +
|-
 +
! scope="row" | Clan
 +
| {{#if: {{{clan|}}}|[[:Category:{{{clan}}}|{{{clan}}}]]|}}
 +
 
 +
|-
 +
! scope="row" | Sect
 +
| {{#if: {{{sect|}}}|[[:Category:{{{sect}}}|{{{sect}}}]]|}}
 +
 
 +
|-
 +
! scope="row" | Social Class
 +
| {{#if: {{{socialclass|}}}|{{{socialclass}}}|}}
 +
 
 +
|-
 +
! scope="row" | Territory
 +
| {{#if: {{{territory|}}}|[[:Category:{{{territory}}}|{{{territory}}}]]|}}
 +
 
 +
|-
 +
! scope="row" | Position(s)
 +
| {{#if: {{{position|}}}|{{{position}}}|}}
  
  {| id="masq-icvitals-table"
+
|-
  {{#if: {{{pronouns|}}}
+
! scope="row" | Coterie
    |-
+
| {{#if: {{{coterie|}}}|[[:Category:{{{coterie}}}|{{{coterie}}}]]|}}
    ! scope="row" | Pronouns
+
|}
    | {{{pronouns}}}
 
  }}
 
  {{#if: {{{clan|}}}
 
    |-
 
    ! scope="row" | Clan
 
    | [[:Category:{{{clan}}}|{{{clan}}}]]
 
  }}
 
  {{#if: {{{sect|}}}
 
    |-
 
    ! scope="row" | Sect
 
    | [[:Category:{{{sect}}}|{{{sect}}}]]
 
  }}
 
  {{#if: {{{socialclass|}}}
 
    |-
 
    ! scope="row" | Social Class
 
    | {{{socialclass}}}
 
  }}
 
  {{#if: {{{territory|}}}
 
    |-
 
    ! scope="row" | Territory
 
    | [[:Category:{{{territory}}}|{{{territory}}}]]
 
  }}
 
  {{#if: {{{position|}}}
 
    |-
 
    ! scope="row" | Position(s)
 
    | {{{position}}}
 
  }}
 
  {{#if: {{{coterie|}}}
 
    |-
 
    ! scope="row" | Coterie
 
    | [[:Category:{{{coterie}}}|{{{coterie}}}]]
 
  }}
 
  |}
 
  
 
</div>
 
</div>
Line 128: Line 122:
 
========================= -->
 
========================= -->
 
<div id="pc-furtherinfo" class="clearfix">
 
<div id="pc-furtherinfo" class="clearfix">
  <span id="pc-furtherinfo-heading" class="my-h2">Further Information</span>
+
<span id="pc-furtherinfo-heading" class="my-h2">Further Information</span>
  
  {{#if: {{{furtherinfopic|}}}
+
{{#if: {{{furtherinfopic|}}}
    | <div id="pc-furtherinfo-pic">[[File:{{{furtherinfopic}}}|300px]]</div>
+
| <div id="pc-furtherinfo-pic">[[File:{{{furtherinfopic}}}|300px]]</div>
  }}
+
}}
  
  {{#if: {{{desc|}}}
+
{{#if: {{{desc|}}}
    | <div id="pc-desc">
+
| <div id="pc-desc">
        <span id="pc-desc-title" class="my-h3">Description</span>
+
<span id="pc-desc-title" class="my-h3">Description</span>
        {{{desc}}}
+
{{{desc}}}
      </div>
+
</div>
  }}
+
}}
  
  {{#if: {{{timeline|}}}
+
{{#if: {{{timeline|}}}
    | <div id="pc-timeline">
+
| <div id="pc-timeline">
        <span id="pc-timeline-title" class="my-h3">Timeline</span>
+
<span id="pc-timeline-title" class="my-h3">Timeline</span>
        {{{timeline}}}
+
{{{timeline}}}
      </div>
+
</div>
  }}
+
}}
  
  {{#if: {{{bio|}}}
+
{{#if: {{{bio|}}}
    | <div id="pc-bio">
+
| <div id="pc-bio">
        <span id="pc-bio-title" class="my-h3">Bio</span>
+
<span id="pc-bio-title" class="my-h3">Bio</span>
        {{{bio}}}
+
{{{bio}}}
      </div>
+
</div>
  }}
+
}}
  
  <div id="pc-rumors">
+
<div id="pc-rumors">
    <span id="pc-rumors-title" class="my-h3">Rumors</span>
+
<span id="pc-rumors-title" class="my-h3">Rumors</span>
    {{#if: {{{rumors|}}}|{{{rumors}}}<br />}}
+
{{#if: {{{rumors|}}}|{{{rumors}}}<br />}}
    {{#ifexist: {{PAGENAME}} Rumors | {{:{{PAGENAME}} Rumors}}<br />}}
+
{{#ifexist: {{PAGENAME}} Rumors | {{:{{PAGENAME}} Rumors}}<br />}}
    {{#formlink:form=Add Rumors|target={{PAGENAME}} Rumors|popup|reload|link text=Edit Rumors: Add your own!}}
+
{{#formlink:form=Add Rumors|target={{PAGENAME}} Rumors|popup|reload|link text=Edit Rumors: Add your own!}}
  </div>
+
</div>
  
  <div id="pc-quotes">
+
<div id="pc-quotes">
    <span id="pc-quotes-title" class="my-h3">Quotes</span>
+
<span id="pc-quotes-title" class="my-h3">Quotes</span>
    {{#if: {{{quotes|}}}|{{{quotes}}}<br />}}
+
{{#if: {{{quotes|}}}|{{{quotes}}}<br />}}
    {{#ifexist: {{PAGENAME}} Quotes | {{:{{PAGENAME}} Quotes}}<br />}}
+
{{#ifexist: {{PAGENAME}} Quotes | {{:{{PAGENAME}} Quotes}}<br />}}
    {{#formlink:form=Add Quotes|target={{PAGENAME}} Quotes|popup|reload|link text=Edit Quotes: Add your own!}}
+
{{#formlink:form=Add Quotes|target={{PAGENAME}} Quotes|popup|reload|link text=Edit Quotes: Add your own!}}
  </div>
+
</div>
  
 
</div>
 
</div>
Line 175: Line 169:
 
========================= -->
 
========================= -->
 
<div id="pc-oocvitals" class="clearfix">
 
<div id="pc-oocvitals" class="clearfix">
  <span id="pc-oocvitals-title" class="my-h2">OOC Information</span>
+
<span id="pc-oocvitals-title" class="my-h2">OOC Information</span>
  
  {{#if: {{{oocvitalspic|}}}
+
{{#if: {{{oocvitalspic|}}}
    | <div id="pc-oocvitals-pic">[[File:{{{oocvitalspic}}}|300px]]</div>
+
| <div id="pc-oocvitals-pic">[[File:{{{oocvitalspic}}}|300px]]</div>
  }}
+
}}
  
  {| id="pc-oocvitals-table"
+
{| id="pc-oocvitals-table"
  |-
+
|-
  ! scope="row" | Player
+
! scope="row" | Player
  | [mailto:{{{playeremail}}} {{{player}}}]
+
| [mailto:{{{playeremail}}} {{{player}}}]
  {{#if: {{{playerpronouns|}}}
+
|-
    |-
+
! scope="row" | Player Pronouns
    ! scope="row" | Pronouns
+
| {{#if: {{{playerpronouns|}}}|{{{playerpronouns}}}|}}
    | {{{playerpronouns}}}
+
|-
  }}
+
! scope="row" | MES #
  |-
+
| {{{mesnumber}}}
  ! scope="row" | MES #
+
|-
  | {{{mesnumber}}}
+
! scope="row" | Domain
  |-
+
| [[:Category:{{{domain}}}|{{{domain}}}]]
  ! scope="row" | Domain
+
|-
  | [[:Category:{{{domain}}}|{{{domain}}}]]
+
! scope="row" | Storyteller
  |-
+
| {{#ifeq: {{{notvst|}}} | Yes
  ! scope="row" | Storyteller
+
| [mailto:{{{stemail}}} {{{st}}}]
  | {{#ifeq: {{{notvst|}}} | Yes
+
| {{#ifexist: {{{vss|}}} VST Email
      | [mailto:{{{stemail}}} {{{st}}}]
+
| [mailto:{{:{{{vss}}} VST Email}} {{:{{{vss}}} VST}}]
      | {{#ifexist: {{{vss|}}} VST Email
+
| [mailto:{{{stemail}}} {{{st}}}]
          | [mailto:{{:{{{vss}}} VST Email}} {{:{{{vss}}} VST}}]
+
}}
          | [mailto:{{{stemail}}} {{{st}}}]
+
}}
        }}
+
|}
    }}
 
  |}
 
  
 
</div>
 
</div>

Latest revision as of 15:26, 27 February 2026

This is the "PC" template. It should be called in the following format:

{{PC
|name=
|pronouns=
|portrait=
|clan=
|sect=
|socialclass=
|family=
|position=
|coterie=
|furtherinfopic=
|desc=
|timeline=
|bio=
|rumors=
|quotes=
|oocvitalspic=
|player=
|playerpronouns=
|playeremail=
|mesnumber=
|vss=
|territory=
|region=
|domain=
|st=
|stemail=
|notvst=
}}

Required parameters: name, player, playeremail, mesnumber, vss, domain, st, stemail