Difference between revisions of "Template:Coterie"

From End to Dawn
Jump to navigation Jump to search
 
(20 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>
 
+
Edit the page to see the template text.
Optional:
 
* `showmembers=Yes` — show a list of members (pages in this group’s category).
 
 
</noinclude>
 
</noinclude>
  
 
<includeonly>__NOTOC__ __NOEDITSECTION__
 
<includeonly>__NOTOC__ __NOEDITSECTION__
  
<div class="pcgroup-container">
+
<div class="coterie-container">
 
 
=== {{#if: {{{grouptype|}}} | {{{grouptype}}} | Group }}: {{PAGENAME}} ===
 
  
{{#if: {{{titlepic|}}}
+
<!-- Header and image -->
  | [[File:{{{titlepic}}}|center|600px]]
+
<div class="coterie-header">
  | {{#ifexist: File:{{PAGENAME}}.png | [[File:{{PAGENAME}}.png|center|600px]]
+
  <div class="coterie-title">{{PAGENAME}}</div>
    | {{#ifexist: File:{{PAGENAME}}.jpg | [[File:{{PAGENAME}}.jpg|center|600px]]
+
  <div class="coterie-image">
      | {{#ifexist: File:{{PAGENAME}}.jpeg | [[File:{{PAGENAME}}.jpeg|center|600px]]
+
    {{#if: {{{titlepic|}}}
        | {{#ifexist: File:{{PAGENAME}}.gif | [[File:{{PAGENAME}}.gif|center|600px]]
+
      | [[File:{{{titlepic}}}|center|600px]]
          | {{#ifexist: File:{{PAGENAME}}.webp | [[File:{{PAGENAME}}.webp|center|600px]] }}
+
      | {{#ifexist: File:{{PAGENAME}}.png
 +
          | [[File:{{PAGENAME}}.png|frameless|center|500px]]
 +
          | {{#ifexist: File:{{PAGENAME}}.jpg
 +
              | [[File:{{PAGENAME}}.jpg|frameless|center|500px]]
 +
              | {{#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>
 
 
== Group Information ==
 
 
 
{| class="pcgroup-table"
 
|-
 
! Name
 
| {{PAGENAME}}
 
 
 
{{#if: {{{leader1|}}}
 
|-
 
! {{{leader1type|Leader}}}
 
| [[{{{leader1}}}]]
 
}}
 
 
 
{{#if: {{{leader2|}}}
 
|-
 
! {{{leader2type|Leader}}}
 
| [[{{{leader2}}}]]
 
}}
 
 
 
{{#if: {{{leader3|}}}
 
|-
 
! {{{leader3type|Leader}}}
 
| [[{{{leader3}}}]]
 
}}
 
 
 
{{#if: {{{leader4|}}}
 
|-
 
! {{{leader4type|Leader}}}
 
| [[{{{leader4}}}]]
 
}}
 
  
{{#if: {{{leader5|}}}
+
<!-- Description -->
|-
+
{{#if: {{{description|}}} |
! {{{leader5type|Leader}}}
+
== <span class="coterie-header-text">Description</span> ==
| [[{{{leader5}}}]]
+
{{{description}}}
}}
 
 
 
{{#if: {{{leader6|}}}
 
|-
 
! {{{leader6type|Leader}}}
 
| [[{{{leader6}}}]]
 
}}
 
|}
 
 
 
{{#ifeq: {{{showmembers|}}} | Yes |
 
== Members ==
 
Here are the pages categorized under this group:
 
 
 
<categorytree mode=pages depth=1>Category:{{PAGENAME}}</categorytree>
 
 
}}
 
}}
  
 +
<!-- Reputation -->
 
{{#if: {{{reputation|}}} |
 
{{#if: {{{reputation|}}} |
== Reputation ==
+
== <span class="coterie-header-text">Reputation</span> ==
 
{{{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 |
+
<!-- Quotes -->
== Rumors ==
+
== <span class="coterie-header-text">Quotes</span> ==
{{:{{PAGENAME}} Rumors}}
+
{{#if: {{{quotes|}}} | {{{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 Rumors
+
<!-- Members section -->
|target={{PAGENAME}} Rumors
+
== <span class="coterie-header-text">Members</span> ==
|returnto={{FULLPAGENAME}}
+
<div class="coterie-members">
|reload
+
{{#if: {{{members|}}} | {{{members}}} | * No members added yet. }}
|link text=Edit rumors: add your own!
+
</div>
}}
 
  
{{#if: {{{quotes|}}} |
+
</div>
== Quotes ==
 
{{{quotes}}}
 
}}
 
  
{{#ifexist: {{PAGENAME}} Quotes |
+
<!-- Auto-categorization -->
== Quotes ==
+
[[Category:Coterie]]
{{:{{PAGENAME}} Quotes}}
 
}}
 
  
{{#formlink:form=Add Quotes
+
{{#css:
|target={{PAGENAME}} Quotes
+
.coterie-container {
|returnto={{FULLPAGENAME}}
+
  background: #778;
|reload
+
  color: #DDD;
|link text=Edit quotes: add your own!
+
  border: 2px solid #600;
 +
  padding: 1em;
 +
  font-family: 'Belleza', sans-serif;
 +
}
 +
.coterie-header {
 +
  text-align: center;
 +
  margin-bottom: 20px;
 +
}
 +
.coterie-title {
 +
  font-size: 2.5em;
 +
  font-family: "Limelight", cursive;
 +
  color: #C33;
 +
  margin-bottom: 10px;
 +
}
 +
.coterie-header-text {
 +
  color: #C33;
 +
}
 +
.coterie-image img {
 +
  max-width: 80%;
 +
  height: auto;
 +
  border: 3px solid #600;
 +
  border-radius: 10px;
 +
  margin-top: 10px;
 +
}
 +
.coterie-members {
 +
  margin-left: 1em;
 +
}
 
}}
 
}}
 
</div>
 
 
<!-- Auto-categories -->
 
[[Category:PC Group]]
 
{{#if: {{{grouptype|}}} | [[Category:{{{grouptype}}}]] }}
 
[[Category:{{PAGENAME}}]]
 
 
</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.