Template:Button: Difference between revisions
Content added Content deleted
imported>FrozenPlum mNo edit summary |
imported>FrozenPlum mNo edit summary |
||
Line 1: | Line 1: | ||
<templatestyles src="Example/style.css" /><!-- |
<templatestyles src="Example/style.css" /><!-- |
||
--><includeonly> |
|||
--><includeonly><div class="demo-inputbox-wrapper" style="padding-bottom:unset"><div class="demo-viewpage"> |
|||
<div class="demo-viewpage" style="font-size:small;"> |
|||
[[:{{{1|}}}|{{{2|{{{1|}}}}}}]] |
[[:{{{1|}}}|{{{2|{{{1|}}}}}}]] |
||
</div>{{#if:{{{3|}}}|<div class="demo-viewpage">[[:{{{3|}}}|{{{4|{{{3|}}}}}}]]</div>}} |
|||
</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. |
Revision as of 00:32, 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.