Difference between revisions of "Template:Coterie"

From End to Dawn
Jump to navigation Jump to search
 
(17 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|}}} |
== Group Type ==
+
== <span class="coterie-header-text">Description</span> ==
{{{grouptype}}}
+
{{{description}}}
 
}}
 
}}
  
 +
<!-- Reputation -->
 
{{#if: {{{reputation|}}} |
 
{{#if: {{{reputation|}}} |
== Reputation ==
+
== <span class="coterie-header-text">Reputation</span> ==
 
{{{reputation}}}
 
{{{reputation}}}
 
}}
 
}}
  
== Rumors ==
+
<!-- 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 ==
+
<!-- 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 66: Line 69:
  
 
<!-- Members section -->
 
<!-- Members section -->
{{#ifeq: {{{showmembers|Yes}}} | Yes |
+
== <span class="coterie-header-text">Members</span> ==
== Members ==
 
 
<div class="coterie-members">
 
<div class="coterie-members">
{{#dpl:
+
{{#if: {{{members|}}} | {{{members}}} | * No members added yet. }}
|category={{PAGENAME}}
 
|notcategory=Coterie
 
|mode=unordered
 
|ordermethod=title
 
}}
 
 
</div>
 
</div>
}}
 
  
 
</div>
 
</div>
Line 82: Line 78:
 
<!-- Auto-categorization -->
 
<!-- Auto-categorization -->
 
[[Category:Coterie]]
 
[[Category:Coterie]]
[[Category:{{PAGENAME}}]] <!-- auto-category for the coterie name itself -->
 
 
{{#if: {{{grouptype|}}} | [[Category:{{{grouptype}}}]] }}
 
  
 
{{#css:
 
{{#css:
 
.coterie-container {
 
.coterie-container {
   background: #111;
+
   background: #778;
 
   color: #DDD;
 
   color: #DDD;
 
   border: 2px solid #600;
 
   border: 2px solid #600;
Line 103: Line 96:
 
   color: #C33;
 
   color: #C33;
 
   margin-bottom: 10px;
 
   margin-bottom: 10px;
 +
}
 +
.coterie-header-text {
 +
  color: #C33;
 
}
 
}
 
.coterie-image img {
 
.coterie-image img {
Line 111: Line 107:
 
   margin-top: 10px;
 
   margin-top: 10px;
 
}
 
}
.coterie-members ul {
+
.coterie-members {
   margin-left: 1.5em;
+
   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.