Difference between revisions of "Template:Coterie"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
| − | This is the " | + | 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> | ||
| − | {{ | + | {{Coterie |
|titlepic= | |titlepic= | ||
|grouptype= | |grouptype= | ||
| Line 16: | Line 16: | ||
<includeonly>__NOTOC__ __NOEDITSECTION__ | <includeonly>__NOTOC__ __NOEDITSECTION__ | ||
| − | <div class=" | + | <div class="coterie-container"> |
<!-- Header and image --> | <!-- Header and image --> | ||
| − | <div class=" | + | <div class="coterie-header"> |
| − | <div class=" | + | <div class="coterie-title">{{PAGENAME}}</div> |
| − | <div class=" | + | |
| − | {{#if: {{{titlepic|}}} | [[File:{{{titlepic}}}|center|600px]] | + | <div class="coterie-image"> |
| − | | {{#ifexist: File:{{PAGENAME}}.png | [[File:{{PAGENAME}}.png|frameless|center|500px]] | + | {{#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> | ||
| Line 38: | Line 45: | ||
<!-- Group info --> | <!-- Group info --> | ||
| − | {{#if:{{{grouptype|}}}|== Group Type == | + | {{#if: {{{grouptype|}}} | |
| − | {{{grouptype}}}}} | + | == Group Type == |
| + | {{{grouptype}}} | ||
| + | }} | ||
| − | {{#if:{{{reputation|}}}|== Reputation == | + | {{#if: {{{reputation|}}} | |
| − | {{{reputation}}}}} | + | == Reputation == |
| + | {{{reputation}}} | ||
| + | }} | ||
| − | {{#if:{{{rumors|}}}| | + | == Rumors == |
| − | {{{rumors}}}}} | + | {{#if: {{{rumors|}}} | {{{rumors}}}<br> }} |
| − | {{#ifexist: {{PAGENAME}} Rumors|{{:{{PAGENAME}} Rumors}}<br>} | + | {{#ifexist: {{PAGENAME}} Rumors | {{:{{PAGENAME}} Rumors}}<br> }} |
| − | {{#formlink:form=Add Rumors|target={{PAGENAME}} Rumors| | + | {{#formlink:form=Add Rumors|target={{PAGENAME}} Rumors|popup|reload|link text=Edit rumors: add your own!}} |
| − | {{#if:{{{quotes|}}}| | + | == Quotes == |
| − | {{{quotes}}}}} | + | {{#if: {{{quotes|}}} | {{{quotes}}}<br> }} |
| − | {{#ifexist: {{PAGENAME}} Quotes|{{:{{PAGENAME}} Quotes}}<br>} | + | {{#ifexist: {{PAGENAME}} Quotes | {{:{{PAGENAME}} Quotes}}<br> }} |
| − | {{#formlink:form=Add Quotes|target={{PAGENAME}} Quotes| | + | {{#formlink:form=Add Quotes|target={{PAGENAME}} Quotes|popup|reload|link text=Edit quotes: add your own!}} |
<!-- Members section --> | <!-- Members section --> | ||
| − | {{# | + | {{#ifeq: {{{showmembers|Yes}}} | Yes | |
== Members == | == Members == | ||
| + | <div class="coterie-members"> | ||
{{#dpl: | {{#dpl: | ||
| − | |category={{PAGENAME}} | + | |category={{PAGENAME}} |
| − | | | + | |notcategory=Coterie |
| − | | | + | |mode=unordered |
| − | | | + | |ordermethod=title |
| − | |||
}} | }} | ||
| + | </div> | ||
}} | }} | ||
| Line 69: | Line 81: | ||
<!-- Auto-categorization --> | <!-- Auto-categorization --> | ||
| − | [[Category: | + | [[Category:Coterie]] |
| + | [[Category:{{PAGENAME}}]] <!-- auto-category for the coterie name itself --> | ||
| + | |||
{{#if: {{{grouptype|}}} | [[Category:{{{grouptype}}}]] }} | {{#if: {{{grouptype|}}} | [[Category:{{{grouptype}}}]] }} | ||
| − | |||
{{#css: | {{#css: | ||
| − | . | + | .coterie-container { |
background: #111; | background: #111; | ||
color: #DDD; | color: #DDD; | ||
| Line 81: | Line 94: | ||
font-family: 'Belleza', sans-serif; | font-family: 'Belleza', sans-serif; | ||
} | } | ||
| − | . | + | .coterie-header { |
text-align: center; | text-align: center; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
} | } | ||
| − | . | + | .coterie-title { |
font-size: 2.5em; | font-size: 2.5em; | ||
font-family: "Limelight", cursive; | font-family: "Limelight", cursive; | ||
| Line 91: | Line 104: | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
} | } | ||
| − | . | + | .coterie-image img { |
max-width: 80%; | max-width: 80%; | ||
height: auto; | height: auto; | ||
| Line 97: | Line 110: | ||
border-radius: 10px; | border-radius: 10px; | ||
margin-top: 10px; | margin-top: 10px; | ||
| + | } | ||
| + | .coterie-members ul { | ||
| + | margin-left: 1.5em; | ||
} | } | ||
}} | }} | ||
| − | |||
| − | |||
</includeonly> | </includeonly> | ||
Revision as of 00:43, 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
}}