Difference between revisions of "Template:Coterie"

From End to Dawn
Jump to navigation Jump to search
Line 21: Line 21:
 
|rumors=
 
|rumors=
 
|quotes=
 
|quotes=
 +
|showmembers=
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
Optional:
 +
* showmembers = Yes  (shows auto-generated Members section)
 +
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude>
 
</noinclude>
  
<includeonly>
+
<includeonly>__NOTOC__ __NOEDITSECTION__
__NOTOC__ __NOEDITSECTION__
+
 
 +
<div class="pcgroup-container">
  
<div id="masq-container">
+
<!-- =========================
 +
    HEADER
 +
========================= -->
 +
<div class="pcgroup-header">
 +
  <div class="pcgroup-title">
 +
    {{{grouptype|Group}}}: {{PAGENAME}}
 +
  </div>
  
<!-- Header / Title Image -->
+
  <div class="pcgroup-image">
<div id="masq-pcgroup-pic">
+
    {{#if: {{{titlepic|}}}
{{#if: {{{titlepic|}}}
+
      | [[File:{{{titlepic}}}|center|600px]]
| [[File:{{{titlepic}}}|frameless|center|500px]]
+
      | {{#ifexist: File:{{PAGENAME}}.png | [[File:{{PAGENAME}}.png|frameless|center|600px]]
| {{#ifexist: File:{{PAGENAME}}.png | [[File:{{PAGENAME}}.png|frameless|center|500px]]
+
        | {{#ifexist: File:{{PAGENAME}}.jpg | [[File:{{PAGENAME}}.jpg|frameless|center|600px]]
  | {{#ifexist: File:{{PAGENAME}}.jpg | [[File:{{PAGENAME}}.jpg|frameless|center|500px]]
+
          | {{#ifexist: File:{{PAGENAME}}.jpeg | [[File:{{PAGENAME}}.jpeg|frameless|center|600px]]
    | {{#ifexist: File:{{PAGENAME}}.jpeg | [[File:{{PAGENAME}}.jpeg|frameless|center|500px]]
+
            | {{#ifexist: File:{{PAGENAME}}.gif | [[File:{{PAGENAME}}.gif|frameless|center|600px]]
      | {{#ifexist: File:{{PAGENAME}}.gif | [[File:{{PAGENAME}}.gif|frameless|center|500px]]
+
              | {{#ifexist: File:{{PAGENAME}}.webp | [[File:{{PAGENAME}}.webp|frameless|center|600px]]
        | {{#ifexist: File:{{PAGENAME}}.webp | [[File:{{PAGENAME}}.webp|frameless|center|500px]] }}
+
                |
      }}
+
              }}
    }}
+
            }}
  }}
+
          }}
}}
+
        }}
 +
      }}
 +
    }}
 +
  </div>
 
</div>
 
</div>
  
<!-- Group Info Table -->
+
<!-- =========================
{| id="masq-pcgroup-table" style="text-align:left;"
+
    GROUP INFO
! {{#if: {{{grouptype|}}} | {{{grouptype}}} | Group }} Name
+
========================= -->
 +
== Group Information ==
 +
{| class="pcgroup-table"
 +
|-
 +
! {{#if: {{{grouptype|}}}|{{{grouptype}}}|Group}} Name
 
| {{PAGENAME}}
 
| {{PAGENAME}}
  
{{#if: {{{leader1|}}} |
+
{{#if: {{{leader1|}}}
{{!}}-
+
|-
! {{#if: {{{leader1type|}}} | {{{leader1type}}} | Leader }}
+
! {{{leader1type|Leader}}}
{{!}} [[{{{leader1}}}]]
+
| [[{{{leader1}}}]]
 
}}
 
}}
  
{{#if: {{{leader2|}}} |
+
{{#if: {{{leader2|}}}
{{!}}-
+
|-
! {{#if: {{{leader2type|}}} | {{{leader2type}}} | Leader }}
+
! {{{leader2type|Leader}}}
{{!}} [[{{{leader2}}}]]
+
| [[{{{leader2}}}]]
 
}}
 
}}
  
{{#if: {{{leader3|}}} |
+
{{#if: {{{leader3|}}}
{{!}}-
+
|-
! {{#if: {{{leader3type|}}} | {{{leader3type}}} | Leader }}
+
! {{{leader3type|Leader}}}
{{!}} [[{{{leader3}}}]]
+
| [[{{{leader3}}}]]
 
}}
 
}}
  
{{#if: {{{leader4|}}} |
+
{{#if: {{{leader4|}}}
{{!}}-
+
|-
! {{#if: {{{leader4type|}}} | {{{leader4type}}} | Leader }}
+
! {{{leader4type|Leader}}}
{{!}} [[{{{leader4}}}]]
+
| [[{{{leader4}}}]]
 
}}
 
}}
  
{{#if: {{{leader5|}}} |
+
{{#if: {{{leader5|}}}
{{!}}-
+
|-
! {{#if: {{{leader5type|}}} | {{{leader5type}}} | Leader }}
+
! {{{leader5type|Leader}}}
{{!}} [[{{{leader5}}}]]
+
| [[{{{leader5}}}]]
 
}}
 
}}
  
{{#if: {{{leader6|}}} |
+
{{#if: {{{leader6|}}}
{{!}}-
+
|-
! {{#if: {{{leader6type|}}} | {{{leader6type}}} | Leader }}
+
! {{{leader6type|Leader}}}
{{!}} [[{{{leader6}}}]]
+
| [[{{{leader6}}}]]
 
}}
 
}}
 
|}
 
|}
  
<!-- Further Info -->
+
<!-- =========================
<div id="masq-pcgroup-furtherinfo">
+
    MEMBERS (AUTO)
 +
========================= -->
 +
{{#ifeq: {{{showmembers|}}} | Yes |
 +
== Members ==
 +
''Pages categorized under: [[:Category:{{PAGENAME}}|{{PAGENAME}}]]''
  
{{#if: {{{reputation|}}} |
+
<categorytree mode=pages depth=1>Category:{{PAGENAME}}</categorytree>
 +
}}
 +
 
 +
<!-- =========================
 +
    REPUTATION / RUMORS / QUOTES
 +
========================= -->
 +
{{#if: {{{reputation|}}}|
 
== Reputation ==
 
== Reputation ==
 
{{{reputation}}}
 
{{{reputation}}}
 
}}
 
}}
  
<!-- Rumors section appears if parameter exists OR subpage exists -->
+
{{#if: {{{rumors|}}}|
{{#if: {{{rumors|}}}{{#ifexist: {{PAGENAME}} Rumors |1|}} |
+
== Rumors ==
 +
{{{rumors}}}
 +
}}
 +
 
 +
{{#ifexist: {{PAGENAME}} Rumors|
 
== Rumors ==
 
== Rumors ==
{{#if: {{{rumors|}}} | {{{rumors}}}<br> }}
+
{{:{{PAGENAME}} Rumors}}
{{#ifexist: {{PAGENAME}} Rumors | {{:{{PAGENAME}} Rumors}}<br> }}
+
}}
{{#formlink:form=Add Rumors|target={{PAGENAMEE}} Rumors|returnto={{FULLPAGENAME}}|reload|link text=Edit rumors: add your own!}}
+
 
 +
{{#formlink:form=Add Rumors
 +
|target={{PAGENAME}} Rumors
 +
|returnto={{FULLPAGENAME}}
 +
|reload
 +
|link text=Edit rumors: add your own!
 
}}
 
}}
  
<!-- Quotes section appears if parameter exists OR subpage exists -->
+
{{#if: {{{quotes|}}}|
{{#if: {{{quotes|}}}{{#ifexist: {{PAGENAME}} Quotes |1|}} |
 
 
== Quotes ==
 
== Quotes ==
{{#if: {{{quotes|}}} | {{{quotes}}}<br> }}
+
{{{quotes}}}
{{#ifexist: {{PAGENAME}} Quotes | {{:{{PAGENAME}} Quotes}}<br> }}
+
}}
{{#formlink:form=Add Quotes|target={{PAGENAMEE}} Quotes|returnto={{FULLPAGENAME}}|reload|link text=Edit quotes: add your own!}}
+
 
 +
{{#ifexist: {{PAGENAME}} Quotes|
 +
== Quotes ==
 +
{{:{{PAGENAME}} Quotes}}
 +
}}
 +
 
 +
{{#formlink:form=Add Quotes
 +
|target={{PAGENAME}} Quotes
 +
|returnto={{FULLPAGENAME}}
 +
|reload
 +
|link text=Edit quotes: add your own!
 +
}}
 +
 
 +
</div>
 +
 
 +
<!-- Auto-categorization -->
 +
[[Category:PC Group]]
 +
{{#if: {{{grouptype|}}}|[[Category:{{{grouptype}}}]]}}
 +
 
 +
<!-- Auto-category for the group name itself (like VSS) -->
 +
[[Category:{{PAGENAME}}]]
 +
 
 +
<!-- If this is a category page itself, add description -->
 +
{{#ifeq: {{NAMESPACE}} | Category |
 +
This category contains all pages related to the {{#if: {{{grouptype|}}}|'''{{{grouptype}}}'''|'''group'''}} '''{{PAGENAME}}'''.
 +
[[Category:PC Group]]
 
}}
 
}}
  
</div> <!-- /furtherinfo -->
+
{{#css:
 +
.pcgroup-container{
 +
  background:#111;
 +
  color:#DDD;
 +
  border:2px solid #600;
 +
  padding:1em;
 +
  font-family:'Belleza', sans-serif;
 +
}
 +
 
 +
.pcgroup-container h2{
 +
  color:#C33;
 +
  font-family:"Limelight", cursive;
 +
}
 +
 
 +
.pcgroup-header{
 +
  text-align:center;
 +
  margin-bottom:20px;
 +
}
 +
 
 +
.pcgroup-title{
 +
  font-size:2.3em;
 +
  font-family:"Limelight", cursive;
 +
  color:#C33;
 +
  margin-bottom:10px;
 +
}
  
</div> <!-- /masq-container -->
+
.pcgroup-image img{
 +
  max-width:80%;
 +
  height:auto;
 +
  border:3px solid #600;
 +
  border-radius:10px;
 +
  margin-top:10px;
 +
}
 +
 
 +
.pcgroup-table{
 +
  width:100%;
 +
  border-collapse:collapse;
 +
  margin:10px 0 25px 0;
 +
}
 +
 
 +
.pcgroup-table th,
 +
.pcgroup-table td{
 +
  border:1px solid #600;
 +
  padding:10px;
 +
  vertical-align:top;
 +
}
 +
 
 +
.pcgroup-table th{
 +
  width:35%;
 +
  color:#C33;
 +
  font-weight:bold;
 +
  background:rgba(120,0,0,0.15);
 +
}
 +
}}
 
</includeonly>
 
</includeonly>

Revision as of 03:24, 31 January 2026

This is the "Masquerade PC Group" template, used for pages defining coteries, gangs, lineages, and former packs. It should be called in the following format:

{{Masquerade PC Group
|titlepic=
|grouptype=
|leader1=
|leader1type=
|leader2=
|leader2type=
|leader3=
|leader3type=
|leader4=
|leader4type=
|leader5=
|leader5type=
|leader6=
|leader6type=
|reputation=
|rumors=
|quotes=
|showmembers=
}}

Optional:

  • showmembers = Yes (shows auto-generated Members section)

Edit the page to see the template text.