Difference between revisions of "Template:Group"

From The Coppermind
Jump to navigation Jump to search
(Created page with "{{Infobox|title={{{name|{{PAGENAME}}}}}| {{#if:{{{image|}}}|{{row/image|{{{image}}}|}}|}} {{#if:{{{founders|}}}|{{row/kv|Founders|{{{founder}}}|}}|}} {{#if:{{{hq|}}}|{{row/kv|...")
 
m
(25 intermediate revisions by 7 users not shown)
Line 1: Line 1:
  +
{{infobox
{{Infobox|title={{{name|{{PAGENAME}}}}}|
 
  +
|title={{{name|{{translated title}}}}}|id=Group<!--
{{#if:{{{image|}}}|{{row/image|{{{image}}}|}}|}}
 
{{#if:{{{founders|}}}|{{row/kv|Founders|{{{founder}}}|}}|}}
 
{{#if:{{{hq|}}}|{{row/kv|Headquarters|{{{hq}}}|}}|}}
 
{{#if:{{{members|}}}|{{row/kv|Members|{{{members}}}|}}|}}
 
{{#if:{{{world|}}}|{{row/kv|Members|{{{members}}}|}}|}}
 
<!-- featured in -->
 
{{row/kv|Featured In|''{{{books}}}''|}}
 
}}[[Category:Groups|<noinclude>~</noinclude>{{PAGENAME}}]]<!--
 
   
  +
-->|1=
--><noinclude>This template allows you to describe groups or organisations of characters. It has optional parameters such as {{{founders}}}, {{{members}}}, {{{hq}}}, and {{{world}}}.
 
  +
{{#if:{{{image|}}} |{{row/image+artist |{{{image}}} }}|}}
  +
  +
<!-- membership -->
  +
{{#if:{{{founder|}}} |{{row/kv| Founder |{{{founder}}} }}|}}
  +
{{#if:{{{founders|}}}|{{row/kv| Founders |{{{founders}}} }}|}}
  +
{{#if:{{{leader|}}} |{{row/kv| Leader |{{{leader}}} }}|}}
  +
{{#if:{{{leaders|}}} |{{row/kv| Leaders |{{{leaders}}} }}|}}
  +
{{#if:{{{members|}}} |[[Category: extra param - group - members]]|}}
  +
  +
{{#if:{{{hq|}}} |{{row/kv| Headquarters |{{{hq}}} }}|}}
  +
  +
{{#if:{{{type|}}} |{{row/kv| Type |{{{type}}} }}|}}
  +
  +
{{#if:{{{era|}}} |{{row/kv| Era |{{{era}}} }}|}}
  +
  +
{{#if:{{{related|}}} |[[Category: extra param - group - related]]|}}
  +
  +
<!-- world & universe -->
  +
{{#if:{{{earth|}}} |{{row/kv| World |[[Earth ({{{earth}}})]]<!-- -->}}|}}
  +
{{#if:{{{world|}}} |{{row/kv| World |[[{{{world}}}]]<!-- -->}}|}}
  +
{{#if:{{{'world|}}} |{{row/kv| World |{{{'world}}} {{raw/world}}<!-- -->}}|}}
  +
{{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- -->}}|}}
  +
  +
<!-- featured in -->{{row/kv| Featured In |''{{{books}}}''<!-- -->}}
  +
}}<includeonly><!--
  +
  +
-->[[Category: Groups]]<!--
  +
  +
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--
  +
  +
--></includeonly><noinclude>
  +
  +
The {{t|group}} infobox template can be used to describe groups of people or organizations within the books. Note that specific types of groups, such as the members of a {{t|noble house}} might have a more specific template defined, so consult the [[:Category: Infoboxes|infoboxes category]].
  +
  +
__TOC__
  +
  +
=== Template ===
  +
<pre class=mw-code>
  +
{{group
  +
|image=
  +
|founder= / founders=
  +
|leader= / leaders=
  +
|hq=
  +
|type=
  +
|era=
  +
|world= / earth=
  +
|universe=
  +
|books=
  +
}}
  +
</pre>
  +
  +
=== Parameters ===
  +
Highlighted lines indicate '''mandatory''' parameters.
  +
On lines with multiple parameters (e.g. <code>|world= / earth=</code>) pick only the one most appropriate.
  +
  +
{{docs|title={{t|Group}} Parameters}}
  +
  +
<!-- ---------- -->
  +
<!-- ROW: image -->
  +
<!-- ---------- -->
  +
{{docs/image
  +
|eg=
  +
<code><nowiki>|image=Heralds.jpg</nowiki></code>
  +
}}
  +
  +
<!-- ----------------------- -->
  +
<!-- ROW: founder / founders -->
  +
<!-- ----------------------- -->
  +
{{docs/row/optional
  +
|'param= <code>founder</code> <br><small>or</small><br> <code>founders</code>
  +
|desc= Use this to specify the founder(s) of the group.
  +
|eg=
  +
<code><nowiki>|founders=[[Set|The Set]]</nowiki></code>
  +
}}
  +
  +
<!-- --------------------- -->
  +
<!-- ROW: leader / leaders -->
  +
<!-- --------------------- -->
  +
{{docs/row/optional
  +
|'param= <code>leader</code> <br><small>or</small><br> <code>leaders</code>
  +
|desc= Use this to specify the ''current'' leader(s) of the group.
  +
|eg=
  +
<code><nowiki>|leader=[[Camon]]</nowiki></code>
  +
}}
  +
  +
<!-- ------- -->
  +
<!-- ROW: hq -->
  +
<!-- ------- -->
  +
{{docs/row/optional
  +
|param= hq
  +
|desc= Use this to specify where the headquarters of the group are.
  +
|eg=
  +
<code><nowiki>|hq=[[Alta Base]]</nowiki></code>
  +
}}
  +
  +
<!-- --------- -->
  +
<!-- ROW: type -->
  +
<!-- --------- -->
  +
{{docs/row/optional
  +
|param= type
  +
|desc= Use this to specify what type of group is being described. Apply a category if possible.
  +
|eg=
  +
<code><nowiki>|type={{cat tag|Scholars}}</nowiki></code><br>
  +
<code><nowiki>|type=Council</nowiki></code>
  +
}}
  +
  +
<!-- -------- -->
  +
<!-- ROW: era -->
  +
<!-- -------- -->
  +
{{docs/row/optional
  +
|param= era
  +
|desc= Use this to specify the era(s) the described group exists in. Mostly applicable to groups on Roshar and Scadrial.
  +
|eg=
  +
<code><nowiki>|era=[[Classical Scadrial]]</nowiki></code>
  +
}}
  +
  +
<!-- ------------------ -->
  +
<!-- ROW: world / earth -->
  +
<!-- ------------------ -->
  +
{{docs/world}}
  +
  +
<!-- ------------- -->
  +
<!-- ROW: universe -->
  +
<!-- ------------- -->
  +
{{docs/universe}}
  +
  +
<!-- ---------- -->
  +
<!-- ROW: books -->
  +
<!-- ---------- -->
  +
{{docs/books}}
  +
  +
|}
  +
  +
  +
=== Categories & Tags ===
  +
Pages that make use of the ''{{t|group}}'' template will be added to [[:Category: Groups]].
  +
  +
  +
[[Category: Infoboxes]]
  +
== Articles using Template ==
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

Revision as of 01:19, 25 March 2021

Template:Translated title
Featured In {{{books}}}

The {{group}} infobox template can be used to describe groups of people or organizations within the books. Note that specific types of groups, such as the members of a {{noble house}} might have a more specific template defined, so consult the infoboxes category.

Template

{{group
|image=
|founder= / founders=
|leader= / leaders=
|hq=
|type=
|era=
|world= / earth=
|universe=
|books=
}}

Parameters

Highlighted lines indicate mandatory parameters. On lines with multiple parameters (e.g. |world= / earth=) pick only the one most appropriate.

Template:Docs/books
{{Group}} Parameters
Parameter Description Examples
image Use this to display a relevant image hosted on the Coppermind.

See Help:Infoboxes for further details.

|image=Heralds.jpg

founder
or
founders
Use this to specify the founder(s) of the group.

|founders=[[Set|The Set]]

leader
or
leaders
Use this to specify the current leader(s) of the group.

|leader=[[Camon]]

hq Use this to specify where the headquarters of the group are.

|hq=[[Alta Base]]

type Use this to specify what type of group is being described. Apply a category if possible.

|type={{cat tag|Scholars}}
|type=Council

era Use this to specify the era(s) the described group exists in. Mostly applicable to groups on Roshar and Scadrial.

|era=[[Classical Scadrial]]

world
or
earth
Use this to specify the planet where the group can be found.

Note: Automatically generates a link. To bypass this, use 'world.
See Help:Infoboxes for further details.

|world=Roshar
|earth=Reckoners
|'world=Mars

universe Use this to indicate the (connected) universe where the group can be found.

See Help: Infoboxes for further details.

|universe=[[Cosmere]]
|universe=[[Cytoverse]]
|universe=[[Wode]] [[State]]s
|universe=''Standalone''


Categories & Tags

Pages that make use of the {{group}} template will be added to Category: Groups.

Articles using Template