Difference between revisions of "Template:Docs/books"

From The Coppermind
Jump to navigation Jump to search
m (how bout this)
m (k that spot should be fixed Iirc)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
Helper template to insert the standard <code>books</code> row in an infobox template documentation page.
+
Helper template to insert the standard <code>{{SUBPAGENAME}}</code> row in an infobox template documentation page.
   
  +
[[category: documentation templates|{{SUBPAGENAME}}]]
{{docs|title=Documentation for the <code><nowiki>|books=</nowiki></code> parameter|1=
 
  +
 
{{docs|title=Documentation for the <code><nowiki>|</nowiki>{{SUBPAGENAME}}=</code> parameter}}
 
</noinclude>
 
</noinclude>
  +
{{docs/row/required
<!-- ROW STYLE -->
 
  +
|param=books
{{!}}- style="background:#FFDEAD;"
 
  +
|desc=
<!-- Parameter cell -->
 
  +
Use this to indicate which book or series the <noinclude><code></noinclude>{{{subject<includeonly>|{{lc: {{PAGENAME}} }}</includeonly>}}}<noinclude></code></noinclude> is featured in.<br>
{{!}} style="text-align: center;" {{!}} <code>books</code>
 
 
<small>See [[Help: Infoboxes]] for further details.</small>
<!-- Description cell -->
 
  +
|eg=
{{!}} Use this to indicate which book or series the subject is featured in.<br>
 
<small>See [[Help:Infoboxes]] for further details.</small>
 
<!-- Examples cell -->
 
{{!}} style="white-space: nowrap;" {{!}}
 
 
<code><nowiki>|books=[[Mistborn Era 1]]</nowiki></code><br>
 
<code><nowiki>|books=[[Mistborn Era 1]]</nowiki></code><br>
 
<code><nowiki>|books=[[The Stormlight Archive]]</nowiki></code><br>
 
<code><nowiki>|books=[[The Stormlight Archive]]</nowiki></code><br>
 
<code><nowiki>|books=[[Firefight]]</nowiki></code><br>
 
<code><nowiki>|books=[[Firefight]]</nowiki></code><br>
<!-- END OF ROW -->
 
<noinclude>
 
 
}}
 
}}
 
<noinclude>
  +
|}
  +
  +
This template can optionally take a <code>|subject=</code> which defaults to the template name <code><nowiki>{{lc: {{PAGENAME}} }}</nowiki></code>.
   
  +
== Templates with <code>{{SUBPAGENAME}}</code> Parameter ==
== Usage ==
 
{{special: whatlinkshere/{{FULLPAGENAME}} }}
+
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full list of uses|here}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=10}}

Latest revision as of 20:16, 19 April 2020

Helper template to insert the standard books row in an infobox template documentation page.

Documentation for the |books= parameter
Parameter Description Examples
books Use this to indicate which book or series the {{{subject}}} is featured in.

See Help: Infoboxes for further details.

|books=[[Mistborn Era 1]]
|books=[[The Stormlight Archive]]
|books=[[Firefight]]

This template can optionally take a |subject= which defaults to the template name {{lc: {{PAGENAME}} }}.

Templates with books Parameter[edit]