Difference between revisions of "Template:Coterie"

From End to Dawn
Jump to navigation Jump to search
Line 12: Line 12:
 
}}
 
}}
 
</pre>
 
</pre>
 +
Edit the page to see the template text.
 
</noinclude>
 
</noinclude>
  
Line 21: Line 22:
 
<div class="coterie-header">
 
<div class="coterie-header">
 
   <div class="coterie-title">{{PAGENAME}}</div>
 
   <div class="coterie-title">{{PAGENAME}}</div>
 
 
   <div class="coterie-image">
 
   <div class="coterie-image">
 
     {{#if: {{{titlepic|}}}
 
     {{#if: {{{titlepic|}}}
Line 46: Line 46:
 
<!-- Group info -->
 
<!-- Group info -->
 
{{#if: {{{grouptype|}}} |
 
{{#if: {{{grouptype|}}} |
== Group Type ==
+
== <span class="coterie-header-text">Group Type</span> ==
 
{{{grouptype}}}
 
{{{grouptype}}}
 
}}
 
}}
  
 
{{#if: {{{reputation|}}} |
 
{{#if: {{{reputation|}}} |
== Reputation ==
+
== <span class="coterie-header-text">Reputation</span> ==
 
{{{reputation}}}
 
{{{reputation}}}
 
}}
 
}}
  
== Rumors ==
+
== <span class="coterie-header-text">Rumors</span> ==
 
{{#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={{PAGENAME}} Rumors|popup|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 ==
+
== <span class="coterie-header-text">Quotes</span> ==
 
{{#if: {{{quotes|}}} | {{{quotes}}}<br> }}
 
{{#if: {{{quotes|}}} | {{{quotes}}}<br> }}
 
{{#ifexist: {{PAGENAME}} Quotes | {{:{{PAGENAME}} Quotes}}<br> }}
 
{{#ifexist: {{PAGENAME}} Quotes | {{:{{PAGENAME}} Quotes}}<br> }}
Line 67: Line 67:
 
<!-- Members section -->
 
<!-- Members section -->
 
{{#ifeq: {{{showmembers|Yes}}} | Yes |
 
{{#ifeq: {{{showmembers|Yes}}} | Yes |
== Members ==
+
== <span class="coterie-header-text">Members</span> ==
 
<div class="coterie-members">
 
<div class="coterie-members">
* {{#ifexist: {{PAGENAME}} Members | {{:{{PAGENAME}} Members}} | No members added yet. }}
+
* [[Category:{{PAGENAME}}]]
 
</div>
 
</div>
 
}}
 
}}
Line 76: Line 76:
  
 
<!-- Auto-categorization -->
 
<!-- Auto-categorization -->
[[Category:Coterie]] <!-- All coteries go here -->
+
[[Category:Coterie]]
[[Category:{{PAGENAME}}]] <!-- This creates the category named after the coterie itself -->
+
[[Category:{{PAGENAME}}]] <!-- auto-category for the coterie name itself -->
 
+
{{#if: {{{grouptype|}}} | [[Category:{{{grouptype}}}]] }}
{{#if: {{{grouptype|}}} | [[Category:{{{Coterie}}}]] }}
 
  
 
{{#css:
 
{{#css:
Line 98: Line 97:
 
   color: #C33;
 
   color: #C33;
 
   margin-bottom: 10px;
 
   margin-bottom: 10px;
 +
}
 +
.coterie-header-text {
 +
  color: #C33;
 
}
 
}
 
.coterie-image img {
 
.coterie-image img {
Line 106: Line 108:
 
   margin-top: 10px;
 
   margin-top: 10px;
 
}
 
}
.coterie-members ul {
+
.coterie-members {
   margin-left: 1.5em;
+
   margin-left: 1em;
 
}
 
}
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Revision as of 01:38, 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
}}

Edit the page to see the template text.