Difference between revisions of "Template:Coterie"

From End to Dawn
Jump to navigation Jump to search
 
(24 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>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly><div id="masq-container">
+
</noinclude>
<div id="masq-pcgroup-pic">{{#if: {{{titlepic|}}}|[[File:{{{titlepic}}}]]|
+
 
  {{#ifexist: File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png|frameless|center|500px]]
+
<includeonly>__NOTOC__ __NOEDITSECTION__
    |{{#ifexist: File:{{PAGENAME}}.jpg|[[File:{{PAGENAME}}.jpg|frameless|center|500px]]
+
 
      |{{#ifexist: File:{{PAGENAME}}.jpeg|[[File:{{PAGENAME}}.jpeg|frameless|center|500px]]
+
<div class="coterie-container">
        |{{#ifexist: File:{{PAGENAME}}.gif|[[File:{{PAGENAME}}.gif|frameless|center|500px]]
+
 
          |{{#ifexist: File:{{PAGENAME}}.webp|[[File:{{PAGENAME}}.webp|frameless|center|500px]]
+
<!-- Header and image -->
          }}
+
<div class="coterie-header">
 +
  <div class="coterie-title">{{PAGENAME}}</div>
 +
  <div class="coterie-image">
 +
    {{#if: {{{titlepic|}}}
 +
      | [[File:{{{titlepic}}}|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>
 
{| id="masq-pcgroup-table" style="text-align:left"
 
! {{{grouptype}}} Name
 
| {{PAGENAME}}
 
{{#if:{{{leader1|}}}|<nowiki/>
 
{{!}}-
 
! {{{leader1type}}}
 
{{!}} [[{{{leader1}}}]]
 
}}{{#if:{{{leader2|}}}|<nowiki/>
 
{{!}}-
 
! {{{leader2type}}}
 
{{!}} [[{{{leader2}}}]]
 
}}{{#if:{{{leader3|}}}|<nowiki/>
 
{{!}}-
 
! {{{leader3type}}}
 
{{!}} [[{{{leader3}}}]]
 
}}{{#if:{{{leader4|}}}|<nowiki/>
 
{{!}}-
 
! {{{leader4type}}}
 
{{!}} [[{{{leader4}}}]]
 
}}{{#if:{{{leader5|}}}|<nowiki/>
 
{{!}}-
 
! {{{leader5type}}}
 
{{!}} [[{{{leader5}}}]]
 
}}{{#if:{{{leader6|}}}|<nowiki/>
 
{{!}}-
 
! {{{leader6type}}}
 
{{!}} [[{{{leader6}}}]]}}
 
|}
 
<div id="masq-pcgroup-furtherinfo">
 
{{#if:{{{reputation|}}}|==Reputation==
 
{{{reputation}}}}}
 
{{#if:{{{rumors|}}}|==Rumors==
 
{{{rumors}}}}}
 
{{#if:{{{rumors|}}}| |{{#ifexist: {{PAGENAME}} Rumors|==Rumors==}}}}
 
{{#ifexist: {{PAGENAME}} Rumors|{{:{{PAGENAME}} Rumors}}<br>}}
 
{{#formlink:form=Add Rumors|target={{PAGENAME}} Rumors|returnto={{FULLPAGENAME}}|reload|link text=Edit rumors: add your own!}}
 
{{#if:{{{quotes|}}}|==Quotes==
 
{{{quotes}}}}}
 
{{#if:{{{quotes|}}}| |{{#ifexist: {{PAGENAME}} Quotes|==Quotes==}}}}
 
{{#ifexist: {{PAGENAME}} Quotes|{{:{{PAGENAME}} Quotes}}<br>}}
 
{{#formlink:form=Add Quotes|target={{PAGENAME}} Quotes|returnto={{FULLPAGENAME}}|reload|link text=Edit quotes: add your own!}}
 
 
</div>
 
</div>
 +
 +
<!-- Description -->
 +
{{#if: {{{description|}}} |
 +
== <span class="coterie-header-text">Description</span> ==
 +
{{{description}}}
 +
}}
 +
 +
<!-- Reputation -->
 +
{{#if: {{{reputation|}}} |
 +
== <span class="coterie-header-text">Reputation</span> ==
 +
{{{reputation}}}
 +
}}
 +
 +
<!-- Rumors -->
 +
== <span class="coterie-header-text">Rumors</span> ==
 +
{{#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!}}
 +
 +
<!-- Quotes -->
 +
== <span class="coterie-header-text">Quotes</span> ==
 +
{{#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!}}
 +
 +
<!-- Members section -->
 +
== <span class="coterie-header-text">Members</span> ==
 +
<div class="coterie-members">
 +
{{#if: {{{members|}}} | {{{members}}} | * No members added yet. }}
 +
</div>
 +
 
</div>
 
</div>
{{#if: {{{clan|}}}|[[Category:{{{clan}}}]]}}<nowiki/>
+
 
{{#if: {{{clanfaction|}}}|[[Category:{{{clanfaction}}}]]}}<nowiki/>
+
<!-- Auto-categorization -->
{{#if: {{{sect|}}}|[[Category:{{{sect}}}]]}}<nowiki/>
+
[[Category:Coterie]]
{{#if: {{{sectfaction|}}}|[[Category:{{{sectfaction}}}]]}}<nowiki/>
+
 
{{#if: {{{coterie|}}}|[[Category:{{{coterie}}}]]}}<nowiki/>
+
{{#css:
{{#if: {{{region|}}}|[[Category:{{{region}}}]]}}<nowiki/>
+
.coterie-container {
{{#if: {{{domain|}}}|[[Category:{{{domain}}}]]}}<nowiki/>
+
  background: #778;
{{#if: {{{vss|}}}|[[Category:{{{vss}}}]]}}<nowiki/>
+
  color: #DDD;
{{#if: {{{territory|}}}|[[Category:{{{territory}}}]]}}<nowiki/>
+
  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.