Difference between revisions of "Template:Coterie"

From End to Dawn
Jump to navigation Jump to search
 
(18 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=
 
|reputation=
 
|reputation=
 
|rumors=
 
|rumors=
 
|quotes=
 
|quotes=
|showmembers=Yes
+
|members=
 
}}
 
}}
 
</pre>
 
</pre>
 +
Edit the page to see the template text.
 
</noinclude>
 
</noinclude>
  
 
<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">
+
   <div class="coterie-image">
     {{#if: {{{titlepic|}}} | [[File:{{{titlepic}}}|center|600px]]  
+
     {{#if: {{{titlepic|}}}
       | {{#ifexist: File:{{PAGENAME}}.png | [[File:{{PAGENAME}}.png|frameless|center|500px]]
+
      | [[File:{{{titlepic}}}|center|600px]]
        | {{#ifexist: File:{{PAGENAME}}.jpg | [[File:{{PAGENAME}}.jpg|frameless|center|500px]]
+
       | {{#ifexist: File:{{PAGENAME}}.png
          | {{#ifexist: File:{{PAGENAME}}.jpeg | [[File:{{PAGENAME}}.jpeg|frameless|center|500px]]
+
          | [[File:{{PAGENAME}}.png|frameless|center|500px]]
            | {{#ifexist: File:{{PAGENAME}}.gif | [[File:{{PAGENAME}}.gif|frameless|center|500px]]
+
          | {{#ifexist: File:{{PAGENAME}}.jpg
              | {{#ifexist: File:{{PAGENAME}}.webp | [[File:{{PAGENAME}}.webp|frameless|center|500px]]
+
              | [[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>
 
</div>
 
</div>
  
<!-- Group info -->
+
<!-- Description -->
{{#if:{{{grouptype|}}}|== Group Type ==
+
{{#if: {{{description|}}} |
{{{grouptype}}}}}
+
== <span class="coterie-header-text">Description</span> ==
 +
{{{description}}}
 +
}}
  
{{#if:{{{reputation|}}}|== Reputation ==
+
<!-- Reputation -->
{{{reputation}}}}}
+
{{#if: {{{reputation|}}} |
 +
== <span class="coterie-header-text">Reputation</span> ==
 +
{{{reputation}}}
 +
}}
  
{{#if:{{{rumors|}}}|== Rumors ==
+
<!-- Rumors -->
{{{rumors}}}}}
+
== <span class="coterie-header-text">Rumors</span> ==
{{#ifexist: {{PAGENAME}} Rumors|{{:{{PAGENAME}} Rumors}}<br>}
+
{{#if: {{{rumors|}}} | {{{rumors}}}<br> }}
{{#formlink:form=Add Rumors|target={{PAGENAME}} Rumors|returnto={{FULLPAGENAME}}|reload|link text=Edit rumors: add your own!}}
+
{{#ifexist: {{PAGENAME}} Rumors | {{:{{PAGENAME}} Rumors}}<br> }}
 +
{{#formlink:form=Add Rumors|target={{PAGENAME}} Rumors|popup|reload|link text=Edit rumors: add your own!}}
  
{{#if:{{{quotes|}}}|== Quotes ==
+
<!-- Quotes -->
{{{quotes}}}}}
+
== <span class="coterie-header-text">Quotes</span> ==
{{#ifexist: {{PAGENAME}} Quotes|{{:{{PAGENAME}} Quotes}}<br>}
+
{{#if: {{{quotes|}}} | {{{quotes}}}<br> }}
{{#formlink:form=Add Quotes|target={{PAGENAME}} Quotes|returnto={{FULLPAGENAME}}|reload|link text=Edit quotes: add your own!}}
+
{{#ifexist: {{PAGENAME}} Quotes | {{:{{PAGENAME}} Quotes}}<br> }}
 +
{{#formlink:form=Add Quotes|target={{PAGENAME}} Quotes|popup|reload|link text=Edit quotes: add your own!}}
  
 
<!-- Members section -->
 
<!-- Members section -->
{{#if: {{{showmembers|}}} |
+
== <span class="coterie-header-text">Members</span> ==
== Members ==
+
<div class="coterie-members">
{{#dpl:
+
{{#if: {{{members|}}} | {{{members}}} | * No members added yet. }}
|category={{PAGENAME}}
+
</div>
|mode=list
 
|ordermethod=categorytitle
 
|format=,
 
|split=,
 
}}
 
}}
 
  
 
</div>
 
</div>
  
 
<!-- Auto-categorization -->
 
<!-- Auto-categorization -->
[[Category:PC Groups]]
+
[[Category:Coterie]]
{{#if: {{{grouptype|}}} | [[Category:{{{grouptype}}}]] }}
 
{{#if: {{{PAGENAME|}}} | [[Category:{{PAGENAME}}]] }}
 
  
 
{{#css:
 
{{#css:
.pcgroup-container {
+
.coterie-container {
   background: #111;
+
   background: #778;
 
   color: #DDD;
 
   color: #DDD;
 
   border: 2px solid #600;
 
   border: 2px solid #600;
Line 81: Line 87:
 
   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 97:
 
   margin-bottom: 10px;
 
   margin-bottom: 10px;
 
}
 
}
.pcgroup-image img {
+
.coterie-header-text {
 +
  color: #C33;
 +
}
 +
.coterie-image img {
 
   max-width: 80%;
 
   max-width: 80%;
 
   height: auto;
 
   height: auto;
Line 97: Line 106:
 
   border-radius: 10px;
 
   border-radius: 10px;
 
   margin-top: 10px;
 
   margin-top: 10px;
 +
}
 +
.coterie-members {
 +
  margin-left: 1em;
 
}
 
}
 
}}
 
}}
 
 
 
</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.