Template:DocExample/doc

From SpiralKnights

Revision as of 16:03, 10 April 2012 by Aecarus (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usage

Useful for quickly adding examples to doc pages. The markup limitations make this much less useful, though.


Parameters

desc
Required. The text to go in the description column - should be short.
descWidth
Required. Width of the first column for the description.
render
Required. The code to be rendered, not surrounded by pre tags. We need a whole new variable because of wiki markup limitations.
code
Required. The code to be exemplified. Note that because of the aforementioned limitations, you must manually wrap the pre tags.


Examples

(None)


Copy & Paste

{{DocExample
| desc = 
| descWidth = 
| render = 
| code = 
}}
Personal tools