Template:Fieldset: Difference between revisions
From Step Mods | Change The Game
(Created page with "<includeonly><div style="display:table;"><span style="background-color:#35383B; line-height:10%; position:absolute; margin-left:2em;">{{{1|}}}</span><div style="display:table;...") |
No edit summary |
||
Line 8: | Line 8: | ||
==Examples== | ==Examples== | ||
'''Code:''' | |||
<pre>{{Fieldset|Page||You should really love this text.}}</pre> | |||
'''Result:''' | |||
{{Fieldset|Page||You should really love this text.}} | |||
'''Code:''' | '''Code:''' | ||
<pre>{{Fieldset|Page|Option1; Option1; Option1; Option1}}</pre> | <pre>{{Fieldset|Page|Option1; Option1; Option1; Option1}}</pre> | ||
Line 19: | Line 25: | ||
'''Result:''' | '''Result:''' | ||
{{Fieldset|Page||{{Fieldset|Page|Option1; Option1; Option1; Option1}}}} | {{Fieldset|Page||{{Fieldset|Page|Option1; Option1; Option1; Option1}}}} | ||
== See Also == | == See Also == | ||
None | None | ||
</noinclude> | </noinclude> |
Revision as of 02:33, September 11, 2014
Purpose & Usage
When placed within an html table, this template can be used to create rows with three columns, whose parameters behave in the following manner:
- parameter 1 will be bold and aligned to the right. Only one value may be used.
- parameter 2 will be an unordered list (bullet points) with separate list items separated by semicolons
;
(commas were avoided, as sometimes it may be desired for it a bullet point to contain a comma, whereas likelihood of a semicolon is not much) - parameter 3 is inside the box.
Examples
Code:
{{Fieldset|Page||You should really love this text.}}
Result:
Page
Page
You should really love this text.
You should really love this text.
Code:
{{Fieldset|Page|Option1; Option1; Option1; Option1}}
Result:
Page
Page
- Option1
- Option1
- Option1
- Option1
Code:
{{Fieldset|Page||{{Fieldset|Page|Option1; Option1; Option1; Option1}}}}
Result:
Page
Page
Page
Page
- Option1
- Option1
- Option1
- Option1
See Also
None