Template:Label: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div class="label plainlinks" style="width: 90%; margin: auto; border: .5em solid; padding: | <div class="label plainlinks" style="width: 90%; margin: auto; border: .5em solid; padding: .5em; border-color: #C13832; background-color: #EEEEEE;">{{#if:{{{icon|}}}|<div style="float: left;">[[File:{{{icon}}}]]</div>}} | ||
'''{{{label}}}''' | '''{{{label}}}'''{{#if:{{{description|}}}|<br />{{{description}}}}}</div> | ||
{{#if:{{{description|}}}|<br />{{{description}}}}}</div> | |||
<noinclude> | <noinclude> |
Revision as of 15:35, 8 August 2014
{{{label}}}
The Label Template is the basic alert template. It takes at least one and up to three parameters.
- Label
- This is the first parameter. This defines the label.
{{label=Label for a type of page.}}
- Description
- Here you can add more information about the label.
{{description=A little bit more information for this type of page.}}
- Icon
- If you wish to add an icon to the label. This is optional.
{{icon=Link_to_icon.png}}
With all three parameters the format looks like this
{{label=Label for a type of page.|description=More info|icon=Link_to_icon.png}}