Difference between revisions of "Template:Coterie"

From End to Dawn
Jump to navigation Jump to search
 
(21 intermediate revisions by the same user not shown)
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 "Coterie" template, used for pages defining coteries.
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{Masquerade PC Group
+
{{Coterie
 
|titlepic=
 
|titlepic=
|grouptype=
+
|description=
|leader1=
 
|leader1type=
 
|leader2=
 
|leader2type=
 
|leader3=
 
|leader3type=
 
|leader4=
 
|leader4type=
 
|leader5=
 
|leader5type=
 
|leader6=
 
|leader6type=
 
 
|reputation=
 
|reputation=
 
|rumors=
 
|rumors=
 
|quotes=
 
|quotes=
|showmembers=
+
|members=
 
}}
 
}}
 
</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>
Line 33: Line 17:
 
<includeonly>__NOTOC__ __NOEDITSECTION__
 
<includeonly>__NOTOC__ __NOEDITSECTION__
  
<div class="pcgroup-container">
+
<div class="coterie-container">
  
<!-- =========================
+
<!-- Header and image -->
    HEADER
+
<div class="coterie-header">
========================= -->
+
   <div class="coterie-title">{{PAGENAME}}</div>
<div class="pcgroup-header">
+
   <div class="coterie-image">
   <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|frameless|center|600px]]
+
       | {{#ifexist: File:{{PAGENAME}}.png
        | {{#ifexist: File:{{PAGENAME}}.jpg | [[File:{{PAGENAME}}.jpg|frameless|center|600px]]
+
          | [[File:{{PAGENAME}}.png|frameless|center|500px]]
          | {{#ifexist: File:{{PAGENAME}}.jpeg | [[File:{{PAGENAME}}.jpeg|frameless|center|600px]]
+
          | {{#ifexist: File:{{PAGENAME}}.jpg
            | {{#ifexist: File:{{PAGENAME}}.gif | [[File:{{PAGENAME}}.gif|frameless|center|600px]]
+
              | [[File:{{PAGENAME}}.jpg|frameless|center|500px]]
              | {{#ifexist: File:{{PAGENAME}}.webp | [[File:{{PAGENAME}}.webp|frameless|center|600px]]
+
              | {{#ifexist: File:{{PAGENAME}}.jpeg
                 |
+
                  | [[File:{{PAGENAME}}.jpeg|frameless|center|500px]]
              }}
+
                  | {{#ifexist: File:{{PAGENAME}}.gif
 +
                      | [[File:{{PAGENAME}}.gif|frameless|center|500px]]
 +
                      | {{#ifexist: File:{{PAGENAME}}.webp
 +
                          | [[File:{{PAGENAME}}.webp|frameless|center|500px]]
 +
                        }}
 +
                    }}
 +
                 }}
 
             }}
 
             }}
          }}
 
 
         }}
 
         }}
      }}
 
 
     }}
 
     }}
 
   </div>
 
   </div>
 
</div>
 
</div>
  
<!-- =========================
+
<!-- Description -->
    GROUP INFO
+
{{#if: {{{description|}}} |
========================= -->
+
== <span class="coterie-header-text">Description</span> ==
== Group Information ==
+
{{{description}}}
{| class="pcgroup-table"
 
|-
 
! {{#if: {{{grouptype|}}}|{{{grouptype}}}|Group}} Name
 
| {{PAGENAME}}
 
 
 
{{#if: {{{leader1|}}}
 
|-
 
! {{{leader1type|Leader}}}
 
| [[{{{leader1}}}]]
 
}}
 
 
 
{{#if: {{{leader2|}}}
 
|-
 
! {{{leader2type|Leader}}}
 
| [[{{{leader2}}}]]
 
}}
 
 
 
{{#if: {{{leader3|}}}
 
|-
 
! {{{leader3type|Leader}}}
 
| [[{{{leader3}}}]]
 
}}
 
 
 
{{#if: {{{leader4|}}}
 
|-
 
! {{{leader4type|Leader}}}
 
| [[{{{leader4}}}]]
 
}}
 
 
 
{{#if: {{{leader5|}}}
 
|-
 
! {{{leader5type|Leader}}}
 
| [[{{{leader5}}}]]
 
}}
 
 
 
{{#if: {{{leader6|}}}
 
|-
 
! {{{leader6type|Leader}}}
 
| [[{{{leader6}}}]]
 
 
}}
 
}}
|}
 
 
<!-- =========================
 
    MEMBERS (AUTO)
 
========================= -->
 
{{#ifeq: {{{showmembers|}}} | Yes |
 
== Members ==
 
''Pages categorized under: [[:Category:{{PAGENAME}}|{{PAGENAME}}]]''
 
  
<categorytree mode=pages depth=1>Category:{{PAGENAME}}</categorytree>
+
<!-- Reputation -->
}}
+
{{#if: {{{reputation|}}} |
 
+
== <span class="coterie-header-text">Reputation</span> ==
<!-- =========================
 
    REPUTATION / RUMORS / QUOTES
 
========================= -->
 
{{#if: {{{reputation|}}}|
 
== Reputation ==
 
 
{{{reputation}}}
 
{{{reputation}}}
 
}}
 
}}
  
{{#if: {{{rumors|}}}|
+
<!-- Rumors -->
== Rumors ==
+
== <span class="coterie-header-text">Rumors</span> ==
{{{rumors}}}
+
{{#if: {{{rumors|}}} | {{{rumors}}}<br> }}
}}
+
{{#ifexist: {{PAGENAME}} Rumors | {{:{{PAGENAME}} Rumors}}<br> }}
 
+
{{#formlink:form=Add Rumors|target={{PAGENAME}} Rumors|popup|reload|link text=Edit rumors: add your own!}}
{{#ifexist: {{PAGENAME}} Rumors|
 
== Rumors ==
 
{{:{{PAGENAME}} Rumors}}
 
}}
 
  
{{#formlink:form=Add Rumors
+
<!-- Quotes -->
|target={{PAGENAME}} Rumors
+
== <span class="coterie-header-text">Quotes</span> ==
|returnto={{FULLPAGENAME}}
+
{{#if: {{{quotes|}}} | {{{quotes}}}<br> }}
|reload
+
{{#ifexist: {{PAGENAME}} Quotes | {{:{{PAGENAME}} Quotes}}<br> }}
|link text=Edit rumors: add your own!
+
{{#formlink:form=Add Quotes|target={{PAGENAME}} Quotes|popup|reload|link text=Edit quotes: add your own!}}
}}
 
  
{{#if: {{{quotes|}}}|
+
<!-- Members section -->
== Quotes ==
+
== <span class="coterie-header-text">Members</span> ==
{{{quotes}}}
+
<div class="coterie-members">
}}
+
{{#if: {{{members|}}} | {{{members}}} | * No members added yet. }}
 
+
</div>
{{#ifexist: {{PAGENAME}} Quotes|
 
== Quotes ==
 
{{:{{PAGENAME}} Quotes}}
 
}}
 
 
 
{{#formlink:form=Add Quotes
 
|target={{PAGENAME}} Quotes
 
|returnto={{FULLPAGENAME}}
 
|reload
 
|link text=Edit quotes: add your own!
 
}}
 
  
 
</div>
 
</div>
  
 
<!-- Auto-categorization -->
 
<!-- Auto-categorization -->
[[Category:PC Group]]
+
[[Category:Coterie]]
{{#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]]
 
}}
 
  
 
{{#css:
 
{{#css:
.pcgroup-container{
+
.coterie-container {
   background:#111;
+
   background: #778;
   color:#DDD;
+
   color: #DDD;
   border:2px solid #600;
+
   border: 2px solid #600;
   padding:1em;
+
   padding: 1em;
   font-family:'Belleza', sans-serif;
+
   font-family: 'Belleza', sans-serif;
}
 
 
 
.pcgroup-container h2{
 
  color:#C33;
 
  font-family:"Limelight", cursive;
 
}
 
 
 
.pcgroup-header{
 
  text-align:center;
 
  margin-bottom:20px;
 
 
}
 
}
 
+
.coterie-header {
.pcgroup-title{
+
   text-align: center;
   font-size:2.3em;
+
   margin-bottom: 20px;
  font-family:"Limelight", cursive;
 
  color:#C33;
 
   margin-bottom:10px;
 
 
}
 
}
 
+
.coterie-title {
.pcgroup-image img{
+
   font-size: 2.5em;
   max-width:80%;
+
   font-family: "Limelight", cursive;
   height:auto;
+
   color: #C33;
   border:3px solid #600;
+
   margin-bottom: 10px;
  border-radius:10px;
 
   margin-top:10px;
 
 
}
 
}
 
+
.coterie-header-text {
.pcgroup-table{
+
   color: #C33;
   width:100%;
 
  border-collapse:collapse;
 
  margin:10px 0 25px 0;
 
 
}
 
}
 
+
.coterie-image img {
.pcgroup-table th,
+
  max-width: 80%;
.pcgroup-table td{
+
  height: auto;
   border:1px solid #600;
+
   border: 3px solid #600;
   padding:10px;
+
   border-radius: 10px;
   vertical-align:top;
+
   margin-top: 10px;
 
}
 
}
 
+
.coterie-members {
.pcgroup-table th{
+
   margin-left: 1em;
   width:35%;
 
  color:#C33;
 
  font-weight:bold;
 
  background:rgba(120,0,0,0.15);
 
 
}
 
}
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 02:12, 1 February 2026

This is the "Coterie" template, used for pages defining coteries. It should be called in the following format:

{{Coterie
|titlepic=
|description=
|reputation=
|rumors=
|quotes=
|members=
}}

Edit the page to see the template text.