Template:Label: Difference between revisions

Jump to navigation Jump to search
no edit summary
mNo edit summary
No edit summary
Line 1: Line 1:
<div class="label plainlinks" style="width: 80%; margin: auto; border: 1px solid; padding: 1em; border-color: #999999; background-color: #EEEEEE;">{{#if:{{{icon|}}}|<div style="float: left;">[[File:{{{icon}}}]]</div>}}<strong>{{{label}}}</strong>{{#if:{{{description|}}}|<br />{{{description}}}}}</div>
<div class="label plainlinks" style="width: 90%; margin: auto; border: .5em solid; padding: 1em; border-color: #C13832; background-color: #EEEEEE;">{{#if:{{{icon|}}}|<div style="float: left;">[[File:{{{icon}}}]]</div>}}
 
'''{{{label}}}'''
{{#if:{{{description|}}}|<br />{{{description}}}}}</div>
 
<noinclude>
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.
 
<pre>
{{label=Label for a type of page.}}
</pre>
 
;Description :Here you can add more information about the label.
 
<pre>
{{description=A little bit more information for this type of page.}}
</pre>
 
;Icon :If you wish to add an icon to the label
 
<pre>
{{icon=Link_to_icom.png}}
</pre>
 
</noinclude>
Confirmed users, Bureaucrats and Sysops emeriti
176

edits

Navigation menu