Difference between revisions of "Template:Quotebox"

From Hobowars Wiki
Jump to: navigation, search
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}}}%;border:{{{border|1}}}px solid {{{border-color|#a3bfb1}}};text-
+
size:{{{size|80}}}%;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 varitables are: size:'''80%''' ; border:'''1''' ; border-color:<span style='color:#a3bfb1'>'''#a3bfb1'''</span>
+
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 varitables are: size:'''80%''' ; border:'''1''' ; border-color:<span style='color:#a3bfb1'>'''#a3bfb1'''</span> ; bgcolor:'''none'''
  
  
Line 21: Line 21:
 
|size= <br />
 
|size= <br />
 
|border= <br />
 
|border= <br />
 +
|bgcolor= <br />
 
|border-color= <br />
 
|border-color= <br />
 
<nowiki>}}</nowiki>
 
<nowiki>}}</nowiki>

Revision as of 03:44, 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 varitables are: size:80% ; 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=
|size=
|border=
|bgcolor=
|border-color=
}}