Difference between revisions of "Template:Quotebox"
From Hobowars Wiki
m (quote template test) |
m (test) |
||
(6 intermediate revisions by the same user not shown) | |||
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> | ||
<p style="text-align:right"> | <p style="text-align:right"> | ||
− | {{{author}}} | + | --{{{author}}} |
</p> | </p> | ||
</div> | </div> | ||
</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 | + | <noinclude> |
+ | 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''' | ||
For your convenience, simply copy and paste this to get started:<br /><br /> | For your convenience, simply copy and paste this to get started:<br /><br /> | ||
− | + | ||
Copy Pasta:<br /><br /> | Copy Pasta:<br /><br /> | ||
− | <nowiki>{{ | + | <nowiki>{{Quotebox</nowiki><br /> |
|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> |
Latest revision as of 04:07, 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:
{{Quotebox
|quote=
|author=
|width=
|border=
|border-color=
|bgcolor=
}}