Difference between revisions of "Template:Coterie"

From End to Dawn
Jump to navigation Jump to search
 
(22 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=
 +
|members=
 
}}
 
}}
 
</pre>
 
</pre>
Line 26: Line 15:
 
</noinclude>
 
</noinclude>
  
<includeonly>
+
<includeonly>__NOTOC__ __NOEDITSECTION__
__NOTOC__ __NOEDITSECTION__
 
  
<div id="masq-container">
+
<div class="coterie-container">
  
<!-- Header / Title Image -->
+
<!-- Header and image -->
<div id="masq-pcgroup-pic">
+
<div class="coterie-header">
{{#if: {{{titlepic|}}}
+
  <div class="coterie-title">{{PAGENAME}}</div>
| [[File:{{{titlepic}}}|frameless|center|500px]]
+
  <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>
 
</div>
  
<!-- Group Info Table -->
+
<!-- Description -->
{| id="masq-pcgroup-table" style="text-align:left;"
+
{{#if: {{{description|}}} |
! {{#if: {{{grouptype|}}} | {{{grouptype}}} | Group }} Name
+
== <span class="coterie-header-text">Description</span> ==
| {{PAGENAME}}
+
{{{description}}}
 
 
{{#if: {{{leader1|}}} |
 
{{!}}-
 
! {{#if: {{{leader1type|}}} | {{{leader1type}}} | Leader }}
 
{{!}} [[{{{leader1}}}]]
 
}}
 
 
 
{{#if: {{{leader2|}}} |
 
{{!}}-
 
! {{#if: {{{leader2type|}}} | {{{leader2type}}} | Leader }}
 
{{!}} [[{{{leader2}}}]]
 
}}
 
 
 
{{#if: {{{leader3|}}} |
 
{{!}}-
 
! {{#if: {{{leader3type|}}} | {{{leader3type}}} | Leader }}
 
{{!}} [[{{{leader3}}}]]
 
}}
 
 
 
{{#if: {{{leader4|}}} |
 
{{!}}-
 
! {{#if: {{{leader4type|}}} | {{{leader4type}}} | Leader }}
 
{{!}} [[{{{leader4}}}]]
 
 
}}
 
}}
  
{{#if: {{{leader5|}}} |
+
<!-- Reputation -->
{{!}}-
 
! {{#if: {{{leader5type|}}} | {{{leader5type}}} | Leader }}
 
{{!}} [[{{{leader5}}}]]
 
}}
 
 
 
{{#if: {{{leader6|}}} |
 
{{!}}-
 
! {{#if: {{{leader6type|}}} | {{{leader6type}}} | Leader }}
 
{{!}} [[{{{leader6}}}]]
 
}}
 
|}
 
 
 
<!-- Further Info -->
 
<div id="masq-pcgroup-furtherinfo">
 
 
 
 
{{#if: {{{reputation|}}} |
 
{{#if: {{{reputation|}}} |
== Reputation ==
+
== <span class="coterie-header-text">Reputation</span> ==
 
{{{reputation}}}
 
{{{reputation}}}
 
}}
 
}}
  
<!-- Rumors section appears if parameter exists OR subpage exists -->
+
<!-- Rumors -->
{{#if: {{{rumors|}}}{{#ifexist: {{PAGENAME}} Rumors |1|}} |
+
== <span class="coterie-header-text">Rumors</span> ==
== Rumors ==
 
 
{{#if: {{{rumors|}}} | {{{rumors}}}<br> }}
 
{{#if: {{{rumors|}}} | {{{rumors}}}<br> }}
 
{{#ifexist: {{PAGENAME}} Rumors | {{:{{PAGENAME}} Rumors}}<br> }}
 
{{#ifexist: {{PAGENAME}} Rumors | {{:{{PAGENAME}} Rumors}}<br> }}
{{#formlink:form=Add Rumors|target={{PAGENAMEE}} 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!}}
}}
 
  
<!-- Quotes section appears if parameter exists OR subpage exists -->
+
<!-- Quotes -->
{{#if: {{{quotes|}}}{{#ifexist: {{PAGENAME}} Quotes |1|}} |
+
== <span class="coterie-header-text">Quotes</span> ==
== Quotes ==
 
 
{{#if: {{{quotes|}}} | {{{quotes}}}<br> }}
 
{{#if: {{{quotes|}}} | {{{quotes}}}<br> }}
 
{{#ifexist: {{PAGENAME}} Quotes | {{:{{PAGENAME}} Quotes}}<br> }}
 
{{#ifexist: {{PAGENAME}} Quotes | {{:{{PAGENAME}} Quotes}}<br> }}
{{#formlink:form=Add Quotes|target={{PAGENAMEE}} 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 -->
 +
== <span class="coterie-header-text">Members</span> ==
 +
<div class="coterie-members">
 +
{{#if: {{{members|}}} | {{{members}}} | * No members added yet. }}
 +
</div>
 +
 
 +
</div>
  
</div> <!-- /furtherinfo -->
+
<!-- Auto-categorization -->
 +
[[Category:Coterie]]
  
</div> <!-- /masq-container -->
+
{{#css:
 +
.coterie-container {
 +
  background: #778;
 +
  color: #DDD;
 +
  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;
 +
}
 +
}}
 
</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.