Difference between revisions of "Template:Business"

From The Coppermind
Jump to navigation Jump to search
m
m (change to 'world & use {{docs}} rows)
Line 23: Line 23:
 
{{#if:{{{earth|}}} |{{row/kv| World |[[Earth ({{{earth}}})]]<!-- -->}}|}}
 
{{#if:{{{earth|}}} |{{row/kv| World |[[Earth ({{{earth}}})]]<!-- -->}}|}}
 
{{#if:{{{world|}}} |{{row/kv| World |[[{{{world}}}]]<!-- -->}}|}}
 
{{#if:{{{world|}}} |{{row/kv| World |[[{{{world}}}]]<!-- -->}}|}}
{{#if:{{{raw-world|}}} |{{row/kv| World |{{{raw-world}}}{{raw/world}}<!-- -->}}|}}
+
{{#if:{{{'world|}}} |{{row/kv| World |{{{'world}}}{{raw/world}}<!-- -->}}|}}
 
{{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- -->}}|}}
 
{{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- -->}}|}}
   
Line 33: Line 33:
   
 
-->{{#if:<!--
 
-->{{#if:<!--
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{raw-world|}}}<!-- -->{{{universe|}}}<!--
+
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world|}}}<!-- -->{{{universe|}}}<!--
 
-->||{{infobox/no-world}}<!--
 
-->||{{infobox/no-world}}<!--
 
-->}}<!--
 
-->}}<!--
  +
  +
-->{{#if:{{{world-raw|}}}{{{raw-world|}}}|[[category: depreciated raw parameters]]}}<!--
   
 
-->{{#if:{{{logo-artist|}}}|[[category: redundant artist attribution]]}}<!--
 
-->{{#if:{{{logo-artist|}}}|[[category: redundant artist attribution]]}}<!--
Line 70: Line 72:
 
On lines with multiple parameters (e.g. <code>|founder= / founders=</code>) pick only the one most appropriate.
 
On lines with multiple parameters (e.g. <code>|founder= / founders=</code>) pick only the one most appropriate.
   
  +
{{docs}}
{| class="wikitable" width=100%
 
<!-- ------------- -->
 
<!-- TABLE CAPTION -->
 
<!-- ------------- -->
 
|+ {{t|Business}} Parameters
 
   
  +
{{docs/image}}
<!-- -------------- -->
 
<!-- COLUMN HEADERS -->
 
<!-- -------------- -->
 
|-
 
! scope="col" style="font-weight: bold;" | Parameter
 
! scope="col" style="font-weight: bold;" | Description
 
! scope="col" style="font-weight: bold;" | Examples
 
   
<!-- --------- -->
 
 
<!-- ROW: logo -->
 
<!-- ROW: logo -->
<!-- --------- -->
 
|-
 
 
| style="text-align: center;" | <code>logo</code>
 
| style="text-align: center;" | <code>logo</code>
 
| If the business has a known logo hosted on the Coppermind, you can display it here by using the {{t|row/image+artist}} template.
 
| If the business has a known logo hosted on the Coppermind, you can display it here by using the {{t|row/image+artist}} template.
 
| style="white-space: nowrap;" |
 
| style="white-space: nowrap;" |
 
<code><nowiki>|logo=17thshard.jpg</nowiki></code>
 
<code><nowiki>|logo=17thshard.jpg</nowiki></code>
 
<!-- ---------- -->
 
<!-- ROW: image -->
 
<!-- ---------- -->
 
 
|-
 
|-
| style="text-align: center;" | <code>image</code>
 
| If the business has an image associated with it (e.g. a depiction of its HQ), you can display it here by using the {{t|row/image+artist}} template.
 
| style="white-space: nowrap;" |
 
<code><nowiki>|image=Example.png</nowiki></code>
 
   
<!-- ------------------- -->
 
 
<!-- ROW: owner / owners -->
 
<!-- ROW: owner / owners -->
<!-- ------------------- -->
 
|-
 
 
| style="text-align: center;" | <code>owner</code> <br><small>or</small><br> <code>owners</code>
 
| style="text-align: center;" | <code>owner</code> <br><small>or</small><br> <code>owners</code>
 
| Use this to indicate the owner(s) of the business.
 
| Use this to indicate the owner(s) of the business.
 
| style="white-space: nowrap;" |
 
| style="white-space: nowrap;" |
 
<code><nowiki>|owner=[[Silence Montane]]</nowiki></code>
 
<code><nowiki>|owner=[[Silence Montane]]</nowiki></code>
 
|-
   
<!-- ----------------------- -->
 
 
<!-- ROW: founder / founders -->
 
<!-- ROW: founder / founders -->
<!-- ----------------------- -->
 
|-
 
 
| style="text-align: center;" | <code>founder</code> <br><small>or</small><br> <code>founders</code>
 
| style="text-align: center;" | <code>founder</code> <br><small>or</small><br> <code>founders</code>
 
| Use this to indicate the founder(s) of the business.
 
| Use this to indicate the founder(s) of the business.
 
| style="white-space: nowrap;" |
 
| style="white-space: nowrap;" |
 
<code><nowiki></nowiki></code>
 
<code><nowiki></nowiki></code>
 
|-
   
<!-- --------------------- -->
 
 
<!-- ROW: leader / leaders -->
 
<!-- ROW: leader / leaders -->
<!-- --------------------- -->
 
|-
 
 
| style="text-align: center;" | <code>leader</code> <br><small>or</small><br> <code>leaders</code>
 
| style="text-align: center;" | <code>leader</code> <br><small>or</small><br> <code>leaders</code>
 
| Use this to indicate the leader(s) of the business.
 
| Use this to indicate the leader(s) of the business.
 
| style="white-space: nowrap;" |
 
| style="white-space: nowrap;" |
 
<code><nowiki></nowiki></code>
 
<code><nowiki></nowiki></code>
 
|-
   
<!-- ------------ -->
 
 
<!-- ROW: members -->
 
<!-- ROW: members -->
<!-- ------------ -->
 
|-
 
 
| style="text-align: center;" | <code>members</code>
 
| style="text-align: center;" | <code>members</code>
 
| Use this to list notable members of the business.
 
| Use this to list notable members of the business.
 
| style="white-space: nowrap;" |
 
| style="white-space: nowrap;" |
 
<code><nowiki>|members=Vathi, Eusto, Winds</nowiki></code>
 
<code><nowiki>|members=Vathi, Eusto, Winds</nowiki></code>
 
|-
   
<!-- ------------- -->
 
 
<!-- ROW: services -->
 
<!-- ROW: services -->
<!-- ------------- -->
 
|-
 
 
| style="text-align: center;" | <code>services</code>
 
| style="text-align: center;" | <code>services</code>
 
| Use this to described the type(s) of goods and services the business provides.
 
| Use this to described the type(s) of goods and services the business provides.
 
| style="white-space: nowrap;" |
 
| style="white-space: nowrap;" |
 
<code><nowiki>|services=Carriage rides</nowiki></code>
 
<code><nowiki>|services=Carriage rides</nowiki></code>
 
|-
   
<!-- -------- -->
 
 
<!-- ROW: era -->
 
<!-- ROW: era -->
<!-- -------- -->
 
|-
 
 
| style="text-align: center;" | <code>era</code>
 
| style="text-align: center;" | <code>era</code>
 
| Deprecated?
 
| Deprecated?
 
| style="white-space: nowrap;" |
 
| style="white-space: nowrap;" |
 
<code><nowiki></nowiki></code>
 
<code><nowiki></nowiki></code>
 
|-
   
<!-- --------- -->
 
 
<!-- ROW: city -->
 
<!-- ROW: city -->
<!-- --------- -->
 
|-
 
 
| style="text-align: center;" | <code>city</code>
 
| style="text-align: center;" | <code>city</code>
 
| Use this to indicate the city where the business can be found.
 
| Use this to indicate the city where the business can be found.
 
| style="white-space: nowrap;" |
 
| style="white-space: nowrap;" |
 
<code><nowiki>|city=[[Elendel]]</nowiki></code>
 
<code><nowiki>|city=[[Elendel]]</nowiki></code>
 
|-
   
<!-- ----------- -->
 
 
<!-- ROW: nation -->
 
<!-- ROW: nation -->
<!-- ----------- -->
 
|-
 
 
| style="text-align: center;" | <code>nation</code>
 
| style="text-align: center;" | <code>nation</code>
 
| Use this to indicate the nation where the business can be found.
 
| Use this to indicate the nation where the business can be found.
 
| style="white-space: nowrap;" |
 
| style="white-space: nowrap;" |
 
<code><nowiki>|nation=[[Alethkar]]</nowiki></code>
 
<code><nowiki>|nation=[[Alethkar]]</nowiki></code>
 
<!-- --------------------->
 
<!-- ROW: world / earth -->
 
<!-- --------------------->
 
 
|-
 
|-
| style="text-align: center;" | <code>world</code> <br><small>or</small><br> <code>earth</code>
 
| Use this to indicate the [[Cosmere]] [[Shardworld|world]] or the non-Cosmere version of [[Earth]] where the business can be found.<br>
 
Cosmere worlds get automatically linked.<br>
 
If specifying an Earth, it must be one of the ones listed on the [[Earth]] page.<br>
 
<small>To bypass any of the automatic linking, use <code>raw-world</code>.<small>
 
| style="white-space: nowrap;" |
 
<code><nowiki>|world=Roshar</nowiki></code><br>
 
<code><nowiki>|earth=reckoners</nowiki></code>
 
   
  +
{{docs/world}}
<!-- ------------- -->
 
<!-- ROW: universe -->
+
{{docs/universe}}
  +
{{docs/books}}
<!-- ------------- -->
 
|-
 
| style="text-align: center;" | <code>universe</code>
 
| Use this to indicate the (connected) universe where the business can be found.
 
| style="white-space: nowrap;" |
 
<code><nowiki>|universe=[[Cosmere]]</nowiki></code><br>
 
<code><nowiki>|universe=''Standalone''</nowiki></code>
 
 
<!-- ---------- -->
 
<!-- ROW: books -->
 
<!-- ---------- -->
 
|- style="background:#FFDEAD;"
 
| style="text-align: center;" | <code>books</code>
 
| Use this to indicate which book or series the business is featured in.
 
| style="white-space: nowrap;" |
 
<code><nowiki>|books=[[Mistborn Era 1]]</nowiki></code><br>
 
<code><nowiki>|books=[[The Stormlight Archive]]</nowiki></code>
 
   
 
|}
 
|}

Revision as of 20:13, 20 April 2019

Business
Featured In {{{books}}}

This template is to be used on pages for businesses, both within the cosmere and without.

Template

{{business
|logo=
|image=
|owner= / owners=
|founder= / founders=
|leader= / leaders=
|membres=
|services=
|era=
|city=
|nation=
|world= / earth=
|universe=
|books=
}}

Parameters

Highlighted lines indicate mandatory parameters.

On lines with multiple parameters (e.g. |founder= / founders=) pick only the one most appropriate.

Template:Docs/books
Template Parameter Documentation Table
Parameter Description Examples
image Use this to display a relevant image hosted on the Coppermind.

See Help:Infoboxes for further details.

{{{eg}}}

logo If the business has a known logo hosted on the Coppermind, you can display it here by using the {{row/image+artist}} template.

|logo=17thshard.jpg

owner
or
owners
Use this to indicate the owner(s) of the business.

|owner=[[Silence Montane]]

founder
or
founders
Use this to indicate the founder(s) of the business.

leader
or
leaders
Use this to indicate the leader(s) of the business.

members Use this to list notable members of the business.

|members=Vathi, Eusto, Winds

services Use this to described the type(s) of goods and services the business provides.

|services=Carriage rides

era Deprecated?

city Use this to indicate the city where the business can be found.

|city=[[Elendel]]

nation Use this to indicate the nation where the business can be found.

|nation=[[Alethkar]]

world
or
earth
Use this to specify the planet where the business 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 business 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 Business template will be added to the businesses category.