Difference between revisions of "Template:Coterie"

From End to Dawn
Jump to navigation Jump to search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
This is the "Masquerade PC Group" template, used for pages defining coteries, gangs, lineages, and former packs.
 
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:
 
It should be called in the following format:
 +
 
<pre>
 
<pre>
 
{{Masquerade PC Group
 
{{Masquerade PC Group
Line 26: Line 28:
  
 
Optional:
 
Optional:
* showmembers = Yes (shows auto-generated Members section)
+
* `showmembers=Yes` — show a list of members (pages in this group’s category).
 
 
Edit the page to see the template text.
 
 
</noinclude>
 
</noinclude>
  
Line 35: Line 35:
 
<div class="pcgroup-container">
 
<div class="pcgroup-container">
  
<!-- =========================
+
=== {{#if: {{{grouptype|}}} | {{{grouptype}}} | Group }}: {{PAGENAME}} ===
    HEADER
 
========================= -->
 
<div class="pcgroup-header">
 
  <div class="pcgroup-title">
 
    {{{grouptype|Group}}}: {{PAGENAME}}
 
  </div>
 
  
  <div class="pcgroup-image">
+
{{#if: {{{titlepic|}}}
    {{#if: {{{titlepic|}}}
+
  | [[File:{{{titlepic}}}|center|600px]]
      | [[File:{{{titlepic}}}|center|600px]]
+
  | {{#ifexist: File:{{PAGENAME}}.png | [[File:{{PAGENAME}}.png|center|600px]]
      | {{#ifexist: File:{{PAGENAME}}.png | [[File:{{PAGENAME}}.png|frameless|center|600px]]
+
    | {{#ifexist: File:{{PAGENAME}}.jpg | [[File:{{PAGENAME}}.jpg|center|600px]]
        | {{#ifexist: File:{{PAGENAME}}.jpg | [[File:{{PAGENAME}}.jpg|frameless|center|600px]]
+
      | {{#ifexist: File:{{PAGENAME}}.jpeg | [[File:{{PAGENAME}}.jpeg|center|600px]]
          | {{#ifexist: File:{{PAGENAME}}.jpeg | [[File:{{PAGENAME}}.jpeg|frameless|center|600px]]
+
        | {{#ifexist: File:{{PAGENAME}}.gif | [[File:{{PAGENAME}}.gif|center|600px]]
            | {{#ifexist: File:{{PAGENAME}}.gif | [[File:{{PAGENAME}}.gif|frameless|center|600px]]
+
          | {{#ifexist: File:{{PAGENAME}}.webp | [[File:{{PAGENAME}}.webp|center|600px]] }}
              | {{#ifexist: File:{{PAGENAME}}.webp | [[File:{{PAGENAME}}.webp|frameless|center|600px]]
 
                |
 
              }}
 
            }}
 
          }}
 
 
         }}
 
         }}
 
       }}
 
       }}
 
     }}
 
     }}
   </div>
+
   }}
</div>
+
}}
  
<!-- =========================
 
    GROUP INFO
 
========================= -->
 
 
== Group Information ==
 
== Group Information ==
 +
 
{| class="pcgroup-table"
 
{| class="pcgroup-table"
 
|-
 
|-
! {{#if: {{{grouptype|}}}|{{{grouptype}}}|Group}} Name
+
! Name
 
| {{PAGENAME}}
 
| {{PAGENAME}}
  
Line 107: Line 94:
 
|}
 
|}
  
<!-- =========================
 
    MEMBERS (AUTO)
 
========================= -->
 
 
{{#ifeq: {{{showmembers|}}} | Yes |
 
{{#ifeq: {{{showmembers|}}} | Yes |
 
== Members ==
 
== Members ==
''Pages categorized under: [[:Category:{{PAGENAME}}|{{PAGENAME}}]]''
+
Here are the pages categorized under this group:
  
 
<categorytree mode=pages depth=1>Category:{{PAGENAME}}</categorytree>
 
<categorytree mode=pages depth=1>Category:{{PAGENAME}}</categorytree>
 
}}
 
}}
  
<!-- =========================
+
{{#if: {{{reputation|}}} |
    REPUTATION / RUMORS / QUOTES
 
========================= -->
 
{{#if: {{{reputation|}}}|
 
 
== Reputation ==
 
== Reputation ==
 
{{{reputation}}}
 
{{{reputation}}}
 
}}
 
}}
  
{{#if: {{{rumors|}}}|
+
{{#if: {{{rumors|}}} |
 
== Rumors ==
 
== Rumors ==
 
{{{rumors}}}
 
{{{rumors}}}
 
}}
 
}}
  
{{#ifexist: {{PAGENAME}} Rumors|
+
{{#ifexist: {{PAGENAME}} Rumors |
 
== Rumors ==
 
== Rumors ==
 
{{:{{PAGENAME}} Rumors}}
 
{{:{{PAGENAME}} Rumors}}
Line 142: Line 123:
 
}}
 
}}
  
{{#if: {{{quotes|}}}|
+
{{#if: {{{quotes|}}} |
 
== Quotes ==
 
== Quotes ==
 
{{{quotes}}}
 
{{{quotes}}}
 
}}
 
}}
  
{{#ifexist: {{PAGENAME}} Quotes|
+
{{#ifexist: {{PAGENAME}} Quotes |
 
== Quotes ==
 
== Quotes ==
 
{{:{{PAGENAME}} Quotes}}
 
{{:{{PAGENAME}} Quotes}}
Line 161: Line 142:
 
</div>
 
</div>
  
<!-- Auto-categorization -->
+
<!-- Auto-categories -->
 
[[Category:PC Group]]
 
[[Category:PC Group]]
{{#if: {{{grouptype|}}}|[[Category:{{{grouptype}}}]]}}
+
{{#if: {{{grouptype|}}} | [[Category:{{{grouptype}}}]] }}
 
 
<!-- Auto-category for the group name itself (like VSS) -->
 
 
[[Category:{{PAGENAME}}]]
 
[[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]]
 
}}
 
 
{{#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;
 
}
 
 
.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:26, 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` — show a list of members (pages in this group’s category).