Template:Flagbox: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
 
(Just swapping out a few things to reduce the size ever-so-slightly)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{UserTemplate|
{|style="border:solid 2px {{{1|black}}};width:250px;text-align:center"
bordercolor={{{1}}}|
|rowspan=2|[[File:{{{2|Example.jpg}}}|60px]]
image={{{2}}}|
|style="background:{{{1|#000}}};color:#fff;font-size:small;line-height:1.5;width:100%"|'''{{{3}}}'''
headerbackground={{{1}}}|
|-
headertext='''{{{3}}}'''|
|style="font-size:xx-small;line-height:2"|{{{4}}}
maintext={{{4}}}}}</includeonly><noinclude>
|}<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>
<nowiki>{{flagbox|#ccf|Llama.JPG|Drama Llama|The Llama is watching you.}}</nowiki>
{{flagbox|#999966|Justice.PNG|Bureaucrat|This user is a [[Special:Listusers/sysop|Bureaucrat]]}}
{{flagbox|#ccf|Llama.JPG|Drama Llama|The Llama is watching you.}}
 
'''''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>

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.