Difference between revisions of "Template:Quotebox"
From Hobowars Wiki
m (test) |
m (test) |
||
Line 1: | Line 1: | ||
<includeonly><div style="margin-left:1.0cm;margin-right:1.0cm;font- | <includeonly><div style="margin-left:1.0cm;margin-right:1.0cm;font- | ||
− | size:{{{ | + | size:80%;width:{{{width|725}}}px;background:{{{bgcolor|#738287}}};border:{{{border|1}}}px solid {{{border-color|#a3bfb1}}};text- |
align:left;color:#000;padding:0.8em 0.8em;"> | align:left;color:#000;padding:0.8em 0.8em;"> | ||
<p style='font-style: italic;'>"{{{quote}}}"</p> | <p style='font-style: italic;'>"{{{quote}}}"</p> | ||
Line 9: | Line 9: | ||
</includeonly> | </includeonly> | ||
− | If a variable doesn't need to be included, simply don't include it. By that I mean don't have the "|variable= " in the list at all. The template will take over and fill in the appropriate information for you. default settings if you don't use | + | If a variable doesn't need to be included, simply don't include it. By that I mean don't have the "|variable= " in the list at all. The template will take over and fill in the appropriate information for you. default settings if you don't use variables are: width:'''725''' ; border:'''1''' ; border-color:<span style='color:#a3bfb1'>'''#a3bfb1'''</span> ; bgcolor:'''none''' |
Line 19: | Line 19: | ||
|quote= <br /> | |quote= <br /> | ||
|author= <br /> | |author= <br /> | ||
− | | | + | |width= <br /> |
|border= <br /> | |border= <br /> | ||
− | |||
|border-color= <br /> | |border-color= <br /> | ||
+ | |bgcolor= <br /> | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
[[Category:All wiki templates|{{PAGENAME}}]] | [[Category:All wiki templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 03:59, 21 September 2012
If a variable doesn't need to be included, simply don't include it. By that I mean don't have the "|variable= " in the list at all. The template will take over and fill in the appropriate information for you. default settings if you don't use variables are: width:725 ; border:1 ; border-color:#a3bfb1 ; bgcolor:none
For your convenience, simply copy and paste this to get started:
Copy Pasta:
{{User:T burnout/Quotebox
|quote=
|author=
|width=
|border=
|border-color=
|bgcolor=
}}