Difference between revisions of "Template:Docs/image"

From The Coppermind
Jump to navigation Jump to search
m (tweak)
m (fix template)
Line 2: Line 2:
 
Helper template to insert the standard <code>image</code> row in an infobox template documentation page. Note that this requires an example be passed as <code><nowiki>|eg=</nowiki></code>
 
Helper template to insert the standard <code>image</code> row in an infobox template documentation page. Note that this requires an example be passed as <code><nowiki>|eg=</nowiki></code>
   
{{docs|title=Documentation for the <code><nowiki>|books=</nowiki></code> parameter|1=
+
{{docs|title=Documentation for the <code><nowiki>|books=</nowiki></code> parameter}}
 
</noinclude>
 
</noinclude>
 
<!-- ROW STYLE -->
 
<!-- ROW STYLE -->
  +
|-
{{!}}-
 
 
<!-- Parameter cell -->
 
<!-- Parameter cell -->
{{!}} style="text-align: center;" {{!}} <code>image</code>
+
| style="text-align: center;" | <code>image</code>
 
<!-- Description cell -->
 
<!-- Description cell -->
{{!}} Use this to display a relevant image hosted on the Coppermind.<br>
+
| Use this to display a relevant image hosted on the Coppermind.<br>
 
<small>See [[Help:Infoboxes]] for further details.</small>
 
<small>See [[Help:Infoboxes]] for further details.</small>
 
<!-- Examples cell -->
 
<!-- Examples cell -->
{{!}} style="white-space: nowrap;" {{!}} {{{eg}}}
+
| style="white-space: nowrap;" | {{{eg}}}
 
<!-- END OF ROW -->
 
<!-- END OF ROW -->
  +
|-
{{!}}-
 
 
<noinclude>
 
<noinclude>
}}
+
|}
   
 
== Usage ==
 
== Usage ==

Revision as of 17:55, 18 April 2019

Helper template to insert the standard image row in an infobox template documentation page. Note that this requires an example be passed as |eg=

Documentation for the |books= parameter
Parameter Description Examples
image Use this to display a relevant image hosted on the Coppermind.

See Help:Infoboxes for further details.

{{{eg}}}

Usage