Template:Flagbox: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
 
No edit summary
Line 1: Line 1:
<includeonly>{{UserTemplate|
<includeonly>{{UserTemplate|bordercolor={{{1}}}|image={{{2}}}|headerbackground={{{1}}}|headertext='''{{{3}}}'''|maintext={{{4}}}}}</includeonly><noinclude>
bordercolor={{{1}}}|
image={{{2}}}|
headerbackground={{{1}}}|
headertext='''{{{3}}}'''|
maintext={{{4}}}}}</includeonly><noinclude>
==Usage==
==Usage==
  <nowiki>{{</nowiki>flagbox|'''color'''|'''imagelocation'''|'''headertext'''|'''bodytext'''<nowiki>}}</nowiki>
  <nowiki>{{flagbox|'''color'''|'''image name'''|'''header text'''|'''body text'''}}</nowiki>


==example==
==Example==
<pre>{{flagbox|#999966|Justice.PNG|Bureaucrat|This user is a [[Special:Listusers/sysop|Bureaucrat]]}}</pre>
<pre>{{flagbox|#996|Justice.PNG|Bureaucrat|This user is a [[Special:Listusers/sysop|Bureaucrat]]}}</pre>
{{flagbox|#999966|Justice.PNG|Bureaucrat|This user is a [[Special:Listusers/sysop|Bureaucrat]]}}
{{flagbox|#996|Justice.PNG|Bureaucrat|This user is a [[Special:Listusers/sysop|Bureaucrat]]}}
 
'''''Warning:''''' Do not put any extra spaces around " | " symbols. Doing so will break the template on certain browsers.


[[Category:Utility Templates|{{PAGENAME}}]]
[[Category:Utility Templates|{{PAGENAME}}]]
[[Category:Flagboxes|{{PAGENAME}}]]
[[Category:Flagboxes| ]]</noinclude>
</noinclude>

Revision as of 16:29, 25 July 2009

Usage

{{flagbox|'''color'''|'''image name'''|'''header text'''|'''body text'''}}

Example

{{flagbox|#996|Justice.PNG|Bureaucrat|This user is a [[Special:Listusers/sysop|Bureaucrat]]}}
Justice.PNG Bureaucrat
This user is a Bureaucrat