Template:Flagbox: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
No edit summary
(Just swapping out a few things to reduce the size ever-so-slightly)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{UserTemplate|bordercolor={{{1}}}|image={{{2}}}|headerbackground={{{1}}}|headertext='''{{{3}}}'''|maintext={{{4}}}}}</includeonly><noinclude>
{|style="border:solid 2px {{{1|black}}};width:250px;text-align:center"
|rowspan=2|[[File:{{{2|Example.jpg}}}|60px]]
|style="background:{{{1|#000}}};color:#fff;font-size:small;line-height:1.5;width:100%"|'''{{{3}}}'''
|-
|style="font-size:xx-small;line-height:2"|{{{4}}}
|}<noinclude>
==Usage==
==Usage==
  <nowiki>{{flagbox|'''color'''|'''image name'''|'''header text'''|'''body text'''}}</nowiki>
  <nowiki>{{flagbox|color|image name|header text|body text}}</nowiki>


==Example==
==Example==
<pre>{{flagbox|#996|Justice.PNG|Bureaucrat|This user is a [[Special:Listusers/sysop|Bureaucrat]]}}</pre>
<nowiki>{{flagbox|#ccf|Llama.JPG|Drama Llama|The Llama is watching you.}}</nowiki>
{{flagbox|#996|Justice.PNG|Bureaucrat|This user is a [[Special:Listusers/sysop|Bureaucrat]]}}
{{flagbox|#ccf|Llama.JPG|Drama Llama|The Llama is watching you.}}


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

Latest revision as of 23:17, 14 November 2012

Example.jpg {{{3}}}
{{{4}}}

Usage

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

Example

{{flagbox|#ccf|Llama.JPG|Drama Llama|The Llama is watching you.}}
Llama.JPG Drama Llama
The Llama is watching you.