Difference between revisions of "Template:Centered"

From Eurobattle.net WiKi
Jump to navigation Jump to search
(Created page with "<includeonly>{| |- |style="text-align:center;width:700px;"|<span style="font-size:150%;font-weight:bold; color:red">{{{1}}}</span> |}</includeonly>")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{|
+
<noinclude>
 +
<pre>
 +
{|
 
|-
 
|-
|style="text-align:center;width:700px;"|<span style="font-size:150%;font-weight:bold; color:red">{{{1}}}</span>
+
|style="text-align:center;width:{{{width|700}}px;"|<span style="font-size:{{{size|150}}}%;font-weight:bold; color:{{{color|red}}}">{{{text|Header}}}</span>
 +
|}
 +
 
 +
Usage:
 +
{{Centered|text=Header|width=700|color=red|size=150}}
 +
</pre>
 +
 
 +
[[Category:Templates|{{PAGENAME}}]]
 +
</noinclude><includeonly>{|
 +
|-
 +
|style="text-align:center;width:{{{width|700}}}px;"|<span style="font-size:{{{size|150}}}%;font-weight:bold; color:{{{color|red}}}">{{{text|Header}}}</span>
 
|}</includeonly>
 
|}</includeonly>

Latest revision as of 08:55, 14 November 2017

{|
|-
|style="text-align:center;width:{{{width|700}}px;"|<span style="font-size:{{{size|150}}}%;font-weight:bold; color:{{{color|red}}}">{{{text|Header}}}</span>
|}

Usage:
{{Centered|text=Header|width=700|color=red|size=150}}