No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
'''Result:''' | '''Result:''' | ||
{{Fieldset|Page|You should really love this text.}} | {{User:Gernash/Fieldset|Page|You should really love this text.}} | ||
'''Code:''' | '''Code:''' | ||
<pre>{{Fieldset|Page|Option1; Option2; Option3; Option4|bullet=yes}}</pre> | <pre>{{User:Gernash/Fieldset|Page|Option1; Option2; Option3; Option4|bullet=yes}}</pre> | ||
'''Result:''' | '''Result:''' | ||
{{Fieldset|Page|Option1; Option2; Option3; Option4|bullet=yes}} | {{User:Gernash/Fieldset|Page|Option1; Option2; Option3; Option4|bullet=yes}} | ||
'''Code:''' | '''Code:''' | ||
<pre>{{Fieldset|Page|Option1; Option2; Option3; Option4|checkmark=yes}}</pre> | <pre>{{User:Gernash/Fieldset|Page|Option1; Option2; Option3; Option4|checkmark=yes}}</pre> | ||
'''Result:''' | '''Result:''' | ||
{{Fieldset|Page|Option1; Option2; Option3; Option4|checkmark=yes}} | {{User:Gernash/Fieldset|Page|Option1; Option2; Option3; Option4|checkmark=yes}} | ||
'''Code:''' | '''Code:''' | ||
<pre>{{Fieldset|Page|{{Fieldset|Step||Option1; Option2; Option3; Option4|bullet=yes}}|color=A6A6A6}}</pre> | <pre>{{User:Gernash/Fieldset|Page|{{Fieldset|Step||Option1; Option2; Option3; Option4|bullet=yes}}|color=A6A6A6}}</pre> | ||
'''Result:''' | '''Result:''' | ||
{{Fieldset|Page|{{Fieldset|Step|Option1; Option2; Option3; Option4|bullet=yes}}|color=A6A6A6}} | {{User:Gernash/Fieldset|Page|{{Fieldset|Step|Option1; Option2; Option3; Option4|bullet=yes}}|color=A6A6A6}} | ||
== See Also == | == See Also == | ||
None | None | ||
</noinclude> | </noinclude> |
Revision as of 09:06, October 16, 2016
Purpose & Usage
This is a template implementation of the HTML fieldset-legend combo, with rounded corners.
- parameter 1 will be bold and aligned to the right. Only one value may be used.
- parameter 2 is inside the box.
- parameter bullet to yes 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 checkmark to yes will be an unordered list (with the bullet points replaced by checkmarks) 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)
Examples
Code:
{{Fieldset|Page|You should really love this text.}}
Result:
Page
You should really love this text.
Code:
{{User:Gernash/Fieldset|Page|Option1; Option2; Option3; Option4|bullet=yes}}
Result:
Page
Code:
{{User:Gernash/Fieldset|Page|Option1; Option2; Option3; Option4|checkmark=yes}}
Result:
Page
Code:
{{User:Gernash/Fieldset|Page|{{Fieldset|Step||Option1; Option2; Option3; Option4|bullet=yes}}|color=A6A6A6}}
Result:
Page
See Also
None