Template:Button: Difference between revisions
Content added Content deleted
imported>FrozenPlum mNo edit summary |
imported>FrozenPlum m (mark for deletion) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{delete}}</noinclude><templatestyles src="Example/style.css" /><!-- |
|||
<noinclude>Creates custom buttons (floated left) buttons.</noinclude><includeonly><div class="demo-viewpage" style="font-size: smaller;">[[:{{{1|}}}|{{{2|{{{1|}}}}}}]]</div></includeonly><noinclude> |
|||
--><includeonly> |
|||
<div class="demo-viewpage" style="font-size:small; margin-top:{{{margin|.5em}}}"> |
|||
[[:{{{1|}}}|{{{2|{{{1|}}}}}}]] |
|||
</div>{{#if:{{{3|}}}|<div class="demo-viewpage">[[:{{{3|}}}|{{{4|{{{3|}}}}}}]]</div>}} |
|||
</includeonly><noinclude> |
|||
==Examples== |
==Examples== |
||
<pre>{{button|Main Page|Home Page |
<pre>{{button|Main Page|Home Page|dplchapter|#dplchapter}}</pre> |
||
{{button|Main Page|Home Page}}{{button|dplchapter|#dplchapter}} |
{{button|Main Page|Home Page}}{{button|dplchapter|#dplchapter}} |
||
Some example text here. |
Some example text here. |
||
[[Category:Formatting templates]] |
[[Category:Formatting templates]] |
||
[[Category:Templates]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 04:34, 2 October 2022
Page Template:Example/style.css must have content model "Sanitized CSS" for TemplateStyles (current model is "plain text").
Examples
{{button|Main Page|Home Page|dplchapter|#dplchapter}}
Page Template:Example/style.css must have content model "Sanitized CSS" for TemplateStyles (current model is "plain text").
Page Template:Example/style.css must have content model "Sanitized CSS" for TemplateStyles (current model is "plain text").
Some example text here.