Difference between revisions of "Template:Fabrial"

From The Coppermind
Jump to navigation Jump to search
(documentation)
m
Line 1: Line 1:
{{infobox
{{infobox|title={{{name|{{PAGENAME}}|}}}|id=fabrial|
|title={{{name|{{PAGENAME}}|}}}|id=fabrial|


{{#if:{{{image|}}} |{{row/image+artist | {{{image}}} }} }}
{{#if:{{{image|}}} |{{row/image+artist | {{{image}}} }} }}


{{#if:{{{type|}}} |{{row/kv| [[Fabrial]] Type | [[{{{type}}}]] }} }}
{{#if:{{{type|}}} |{{row/kv| [[Fabrial]] type | [[{{{type}}}]] }} }}
{{#if:{{{gem|}}} |{{row/kv| Gem used | {{{gem}}} }} }}
{{#if:{{{gem|}}} |{{row/kv| Gem | {{{gem}}} }} }}
{{#if:{{{spren|}}} |{{row/kv| Spren used | {{{spren}}} }} }}
{{#if:{{{spren|}}} |{{row/kv| Spren | {{{spren}}} }} }}


<!-- -->{{row/kv|Featured in |''[[The Stormlight Archive]]''}}
<!-- -->{{row/kv| World | [[{{{world|Roshar}}}]] }}
{{#if:{{{'world|}}}|{{row/kv| World | {{{'world}}}{{raw/world}}<!-- -->}}|}}

<!-- -->{{row/kv| Universe | [[Cosmere]]}}
<!-- -->{{row/kv| Featured in | ''{{{books|[[The Stormlight Archive]]}}}'' }}


}}<includeonly><!--
}}<includeonly><!--
Line 19: Line 24:
--></includeonly><noinclude>
--></includeonly><noinclude>


This template shows info about [[Fabrial]]s.
The ''{{t|fabrial}}'' template is used for describing [[fabrial]]s.


It automatically adds pages to [[:Category: Stormlight Archive]], [[:Category: Magic]], [[:Category: Fabrials]].


__TOC__

=== Template ===
<pre class=mw-code>
<pre class=mw-code>
{{fabrial
{{fabrial
Line 31: Line 38:
}}
}}
</pre>
</pre>

=== Parameters ===
There are no mandatory parameters.

{{docs|title={{t|Fabrial}} Parameters}}

<!-- ---------- -->
<!-- ROW: image -->
<!-- ---------- -->
{{docs/image
|eg=
<code><nowiki>|image=Navani1.jpg</nowiki></code>
}}

<!-- --------- -->
<!-- ROW: type -->
<!-- --------- -->
{{docs/row/optional
|param= type
|desc= Use this to specify the type of the fabrial, as defined by the artifabrians of Roshar.<br>
<small>'''Note:''' Automatically generates a link.</small><br>
<small>See [[Fabrial#Modern_fabrials]] for a list of fabrial types.
|eg=
<code><nowiki>|type=Conjoiner</nowiki></code>
}}

<!-- -------- -->
<!-- ROW: gem -->
<!-- -------- -->
{{docs/row/optional
|param= gem
|desc= Use this to specify that kind of [[polestone|gem]] that goes into the fabrial.
|eg=
<code><nowiki>|gem=Ruby</nowiki></code>
}}

<!-- ---------- -->
<!-- ROW: spren -->
<!-- ---------- -->
{{docs/row/optional
|param= spren
|desc= Use this to specify that kind of [[spren]] that goes into the fabrial.
|eg=
<code><nowiki>|spren=[[Flamespren]]</nowiki></code>
}}

<!-- ------------->
<!-- ROW: world -->
<!-- ------------->
{{docs/row/optional
|param= world
|desc=
Use this to specify the planet where the fabrial can be found.<br>
<small>'''Note:''' Automatically generates a link. To bypass this, use <code>'world</code>.</small><br>
<small>'''Note:''' Unlike most other infobox templates, this parameter is optional here; if left out it will default to [[Roshar]].</small><br>
<small>See [[Help:Infoboxes]] for further details.</small>
|eg=
<code><nowiki>|world=Scadrial</nowiki></code>
}}

<!-- ---------- -->
<!-- ROW: books -->
<!-- ---------- -->
{{docs/row/optional
|param=books
|desc=
Use this to indicate which book or series the fabrial is featured in.<br>
<small>'''Note:''' Unlike most other infobox templates, this parameter is optional here; if left out it will default to [[The Stormlight Archive]].</small><br>
<small>See [[Help: Infoboxes]] for further details.</small>
|eg=
<code><nowiki>|books=[[Words of Radiance]]</nowiki></code>
}}

|}

=== Categories & Tags ===
Pages that make use of the ''{{t|fabrial}}'' template will be added to [[:Category: Stormlight Archive]], [[:Category: Magic]], and [[:Category: Fabrials]].



[[Category: Fabrials|~]]
[[Category: Fabrials|~]]

Revision as of 17:25, 21 April 2019

Fabrial
World Roshar
Universe Cosmere
Featured in The Stormlight Archive

The {{fabrial}} template is used for describing fabrials.


Template

{{fabrial
|image=
|type=
|gem=
|spren=
}}

Parameters

There are no mandatory parameters.

{{Fabrial}} Parameters
Parameter Description Examples
image Use this to display a relevant image hosted on the Coppermind.

See Help:Infoboxes for further details.

|image=Navani1.jpg

type Use this to specify the type of the fabrial, as defined by the artifabrians of Roshar.

Note: Automatically generates a link.
See Fabrial#Modern_fabrials for a list of fabrial types.

|type=Conjoiner

gem Use this to specify that kind of gem that goes into the fabrial.

|gem=Ruby

spren Use this to specify that kind of spren that goes into the fabrial.

|spren=[[Flamespren]]

world Use this to specify the planet where the fabrial can be found.

Note: Automatically generates a link. To bypass this, use 'world.
Note: Unlike most other infobox templates, this parameter is optional here; if left out it will default to Roshar.
See Help:Infoboxes for further details.

|world=Scadrial

books Use this to indicate which book or series the fabrial is featured in.

Note: Unlike most other infobox templates, this parameter is optional here; if left out it will default to The Stormlight Archive.
See Help: Infoboxes for further details.

|books=[[Words of Radiance]]

Categories & Tags

Pages that make use of the {{fabrial}} template will be added to Category: Stormlight Archive, Category: Magic, and Category: Fabrials.