Template:Format: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
Line 7: Line 7:
{{Related|Wiki Templates|How To Use Tables}}
{{Related|Wiki Templates|How To Use Tables}}
== Syntax ==
== Syntax ==
<pre >
<pre style="width:300px">
{{format|<name>}}
{{format|<name>}}
</pre>
</pre>

Revision as of 14:17, 27 August 2009

Related topics: Wiki Templates, How To Use Tables

Syntax

{{format|<name>}}

Usage

Use within a table header or other section to specify a particular format. The parameter for the format name is case insensitive. The primary purpose of this template is to make it easier to quickly use particular formats/styles. Feel free to add additional formats, try to make the name easy to remember and short.

{|{{Format|Creature Stats}}
| Data
|}

<pre {{format|pre}}>
2 + 2 = 4
</pre>

Formats

  • Creature -
  • Panel - dark gray thin border, light gray panel
  • Pre - auto-width, auto-overflow