Difference between revisions of "Template:Coterie"
Jump to navigation
Jump to search
| (18 intermediate revisions by the same user not shown) | |||
| 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= | ||
| − | | | + | |description= |
|reputation= | |reputation= | ||
|rumors= | |rumors= | ||
|quotes= | |quotes= | ||
| − | | | + | |members= |
}} | }} | ||
</pre> | </pre> | ||
| + | Edit the page to see the template text. | ||
</noinclude> | </noinclude> | ||
<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=" | + | <div class="coterie-image"> |
| − | {{#if: {{{titlepic|}}} | [[File:{{{titlepic}}}|center|600px]] | + | {{#if: {{{titlepic|}}} |
| − | | {{#ifexist: File:{{PAGENAME}}.png | [[File:{{PAGENAME}}.png|frameless|center|500px]] | + | | [[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> | ||
</div> | </div> | ||
| − | <!-- | + | <!-- Description --> |
| − | {{#if:{{{ | + | {{#if: {{{description|}}} | |
| − | {{{ | + | == <span class="coterie-header-text">Description</span> == |
| + | {{{description}}} | ||
| + | }} | ||
| − | {{#if:{{{reputation|}}}|== Reputation == | + | <!-- Reputation --> |
| − | {{{reputation}}}}} | + | {{#if: {{{reputation|}}} | |
| + | == <span class="coterie-header-text">Reputation</span> == | ||
| + | {{{reputation}}} | ||
| + | }} | ||
| − | {{#if:{{{rumors|}}}| | + | <!-- Rumors --> |
| − | {{{rumors}}}}} | + | == <span class="coterie-header-text">Rumors</span> == |
| − | {{#ifexist: {{PAGENAME}} Rumors|{{:{{PAGENAME}} Rumors}}<br>} | + | {{#if: {{{rumors|}}} | {{{rumors}}}<br> }} |
| − | {{#formlink:form=Add Rumors|target={{PAGENAME}} Rumors| | + | {{#ifexist: {{PAGENAME}} Rumors | {{:{{PAGENAME}} Rumors}}<br> }} |
| + | {{#formlink:form=Add Rumors|target={{PAGENAME}} Rumors|popup|reload|link text=Edit rumors: add your own!}} | ||
| − | {{#if:{{{quotes|}}}| | + | <!-- Quotes --> |
| − | {{{quotes}}}}} | + | == <span class="coterie-header-text">Quotes</span> == |
| − | {{#ifexist: {{PAGENAME}} Quotes|{{:{{PAGENAME}} Quotes}}<br>} | + | {{#if: {{{quotes|}}} | {{{quotes}}}<br> }} |
| − | {{#formlink:form=Add Quotes|target={{PAGENAME}} Quotes| | + | {{#ifexist: {{PAGENAME}} Quotes | {{:{{PAGENAME}} Quotes}}<br> }} |
| + | {{#formlink:form=Add Quotes|target={{PAGENAME}} Quotes|popup|reload|link text=Edit quotes: add your own!}} | ||
<!-- Members section --> | <!-- Members section --> | ||
| − | {{#if: {{{ | + | == <span class="coterie-header-text">Members</span> == |
| − | + | <div class="coterie-members"> | |
| − | {{ | + | {{#if: {{{members|}}} | {{{members}}} | * No members added yet. }} |
| − | + | </div> | |
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | }} | ||
| − | |||
</div> | </div> | ||
<!-- Auto-categorization --> | <!-- Auto-categorization --> | ||
| − | [[Category: | + | [[Category:Coterie]] |
| − | |||
| − | |||
{{#css: | {{#css: | ||
| − | . | + | .coterie-container { |
| − | background: # | + | background: #778; |
color: #DDD; | color: #DDD; | ||
border: 2px solid #600; | border: 2px solid #600; | ||
| Line 81: | Line 87: | ||
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 97: | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
} | } | ||
| − | . | + | .coterie-header-text { |
| + | color: #C33; | ||
| + | } | ||
| + | .coterie-image img { | ||
max-width: 80%; | max-width: 80%; | ||
height: auto; | height: auto; | ||
| Line 97: | Line 106: | ||
border-radius: 10px; | border-radius: 10px; | ||
margin-top: 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.