Difference between revisions of "Template:Coterie"

From End to Dawn
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
{{Coterie
 
{{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>
  
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 44: Line 44:
 
</div>
 
</div>
  
<!-- Group info -->
+
<!-- Description -->
{{#if: {{{grouptype|}}} |
+
{{#if: {{{description|}}} |
== <span class="coterie-header-text">Group Type</span> ==
+
== <span class="coterie-header-text">Description</span> ==
{{{grouptype}}}
+
{{{description}}}
 
}}
 
}}
  
 +
<!-- Reputation -->
 
{{#if: {{{reputation|}}} |
 
{{#if: {{{reputation|}}} |
 
== <span class="coterie-header-text">Reputation</span> ==
 
== <span class="coterie-header-text">Reputation</span> ==
Line 55: Line 56:
 
}}
 
}}
  
 +
<!-- Rumors -->
 
== <span class="coterie-header-text">Rumors</span> ==
 
== <span class="coterie-header-text">Rumors</span> ==
 
{{#if: {{{rumors|}}} | {{{rumors}}}<br> }}
 
{{#if: {{{rumors|}}} | {{{rumors}}}<br> }}
Line 60: Line 62:
 
{{#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> ==
 
== <span class="coterie-header-text">Quotes</span> ==
 
{{#if: {{{quotes|}}} | {{{quotes}}}<br> }}
 
{{#if: {{{quotes|}}} | {{{quotes}}}<br> }}
Line 66: Line 69:
  
 
<!-- Members section -->
 
<!-- Members section -->
{{#ifeq: {{{showmembers|Yes}}} | Yes |
 
 
== <span class="coterie-header-text">Members</span> ==
 
== <span class="coterie-header-text">Members</span> ==
 
<div class="coterie-members">
 
<div class="coterie-members">
* {{#ifexist: {{PAGENAME}} Members | {{:{{PAGENAME}} Members}} | No members added yet. }}
+
{{#if: {{{members|}}} | {{{members}}} | * No members added yet. }}
 
</div>
 
</div>
}}
 
  
 
</div>
 
</div>
  
 
<!-- Auto-categorization -->
 
<!-- Auto-categorization -->
[[Category:Coterie]] <!-- main category -->
+
[[Category:Coterie]]
[[Category:Coterie|{{PAGENAME}}]] <!-- sort coterie pages under main category -->
 
[[Category:{{PAGENAME}}]] <!-- creates a subcategory named after the coterie itself -->
 
 
 
{{#if: {{{Coterie|}}}|[[Category:{{{Coterie}}}]]}}
 
  
 
{{#css:
 
{{#css:
 
.coterie-container {
 
.coterie-container {
   background: #111;
+
   background: #778;
 
   color: #DDD;
 
   color: #DDD;
 
   border: 2px solid #600;
 
   border: 2px solid #600;
Line 99: Line 96:
 
   color: #C33;
 
   color: #C33;
 
   margin-bottom: 10px;
 
   margin-bottom: 10px;
 +
}
 +
.coterie-header-text {
 +
  color: #C33;
 
}
 
}
 
.coterie-image img {
 
.coterie-image img {
Line 107: Line 107:
 
   margin-top: 10px;
 
   margin-top: 10px;
 
}
 
}
.coterie-members ul {
+
.coterie-members {
   margin-left: 1.5em;
+
   margin-left: 1em;
}
 
.coterie-header-text {
 
  color: #C33; /* same red as title */
 
 
}
 
}
 
}}
 
}}
 
</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.