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 "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=
 
|grouptype=
Line 16: Line 16:
 
<includeonly>__NOTOC__ __NOEDITSECTION__
 
<includeonly>__NOTOC__ __NOEDITSECTION__
  
<div class="pcgroup-container">
+
<div class="coterie-container">
  
 
<!-- Header and image -->
 
<!-- Header and image -->
<div class="pcgroup-header">
+
<div class="coterie-header">
   <div class="pcgroup-title">{{PAGENAME}}</div>
+
   <div class="coterie-title">{{PAGENAME}}</div>
   <div class="pcgroup-image">
+
 
     {{#if: {{{titlepic|}}} | [[File:{{{titlepic}}}|center|600px]]  
+
   <div class="coterie-image">
       | {{#ifexist: File:{{PAGENAME}}.png | [[File:{{PAGENAME}}.png|frameless|center|500px]]
+
     {{#if: {{{titlepic|}}}
        | {{#ifexist: File:{{PAGENAME}}.jpg | [[File:{{PAGENAME}}.jpg|frameless|center|500px]]
+
      | [[File:{{{titlepic}}}|center|600px]]
          | {{#ifexist: File:{{PAGENAME}}.jpeg | [[File:{{PAGENAME}}.jpeg|frameless|center|500px]]
+
       | {{#ifexist: File:{{PAGENAME}}.png
            | {{#ifexist: File:{{PAGENAME}}.gif | [[File:{{PAGENAME}}.gif|frameless|center|500px]]
+
          | [[File:{{PAGENAME}}.png|frameless|center|500px]]
              | {{#ifexist: File:{{PAGENAME}}.webp | [[File:{{PAGENAME}}.webp|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>
Line 38: Line 45:
  
 
<!-- Group info -->
 
<!-- Group info -->
{{#if:{{{grouptype|}}}|== Group Type ==
+
{{#if: {{{grouptype|}}} |
{{{grouptype}}}}}
+
== Group Type ==
 +
{{{grouptype}}}
 +
}}
  
{{#if:{{{reputation|}}}|== Reputation ==
+
{{#if: {{{reputation|}}} |
{{{reputation}}}}}
+
== Reputation ==
 +
{{{reputation}}}
 +
}}
  
{{#if:{{{rumors|}}}|== Rumors ==
+
== Rumors ==
{{{rumors}}}}}
+
{{#if: {{{rumors|}}} | {{{rumors}}}<br> }}
{{#ifexist: {{PAGENAME}} Rumors|{{:{{PAGENAME}} Rumors}}<br>}
+
{{#ifexist: {{PAGENAME}} Rumors | {{:{{PAGENAME}} Rumors}}<br> }}
{{#formlink:form=Add Rumors|target={{PAGENAME}} Rumors|returnto={{FULLPAGENAME}}|reload|link text=Edit rumors: add your own!}}
+
{{#formlink:form=Add Rumors|target={{PAGENAME}} Rumors|popup|reload|link text=Edit rumors: add your own!}}
  
{{#if:{{{quotes|}}}|== Quotes ==
+
== Quotes ==
{{{quotes}}}}}
+
{{#if: {{{quotes|}}} | {{{quotes}}}<br> }}
{{#ifexist: {{PAGENAME}} Quotes|{{:{{PAGENAME}} Quotes}}<br>}
+
{{#ifexist: {{PAGENAME}} Quotes | {{:{{PAGENAME}} Quotes}}<br> }}
{{#formlink:form=Add Quotes|target={{PAGENAME}} Quotes|returnto={{FULLPAGENAME}}|reload|link text=Edit quotes: add your own!}}
+
{{#formlink:form=Add Quotes|target={{PAGENAME}} Quotes|popup|reload|link text=Edit quotes: add your own!}}
  
 
<!-- Members section -->
 
<!-- Members section -->
{{#if: {{{showmembers|}}} |
+
{{#ifeq: {{{showmembers|Yes}}} | Yes |
 
== Members ==
 
== Members ==
 +
<div class="coterie-members">
 
{{#dpl:
 
{{#dpl:
|category={{PAGENAME}}
+
|category={{PAGENAME}}
|mode=list
+
|notcategory=Coterie
|ordermethod=categorytitle
+
|mode=unordered
|format=,
+
|ordermethod=title
|split=,
 
 
}}
 
}}
 +
</div>
 
}}
 
}}
  
Line 69: Line 81:
  
 
<!-- Auto-categorization -->
 
<!-- Auto-categorization -->
[[Category:PC Groups]]
+
[[Category:Coterie]]
 +
[[Category:{{PAGENAME}}]] <!-- auto-category for the coterie name itself -->
 +
 
 
{{#if: {{{grouptype|}}} | [[Category:{{{grouptype}}}]] }}
 
{{#if: {{{grouptype|}}} | [[Category:{{{grouptype}}}]] }}
{{#if: {{{PAGENAME|}}} | [[Category:{{PAGENAME}}]] }}
 
  
 
{{#css:
 
{{#css:
.pcgroup-container {
+
.coterie-container {
 
   background: #111;
 
   background: #111;
 
   color: #DDD;
 
   color: #DDD;
Line 81: Line 94:
 
   font-family: 'Belleza', sans-serif;
 
   font-family: 'Belleza', sans-serif;
 
}
 
}
.pcgroup-header {
+
.coterie-header {
 
   text-align: center;
 
   text-align: center;
 
   margin-bottom: 20px;
 
   margin-bottom: 20px;
 
}
 
}
.pcgroup-title {
+
.coterie-title {
 
   font-size: 2.5em;
 
   font-size: 2.5em;
 
   font-family: "Limelight", cursive;
 
   font-family: "Limelight", cursive;
Line 91: Line 104:
 
   margin-bottom: 10px;
 
   margin-bottom: 10px;
 
}
 
}
.pcgroup-image img {
+
.coterie-image img {
 
   max-width: 80%;
 
   max-width: 80%;
 
   height: auto;
 
   height: auto;
Line 97: Line 110:
 
   border-radius: 10px;
 
   border-radius: 10px;
 
   margin-top: 10px;
 
   margin-top: 10px;
 +
}
 +
.coterie-members ul {
 +
  margin-left: 1.5em;
 
}
 
}
 
}}
 
}}
 
 
 
</includeonly>
 
</includeonly>

Revision as of 00:43, 1 February 2026

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

{{Coterie
|titlepic=
|grouptype=
|reputation=
|rumors=
|quotes=
|showmembers=Yes
}}