User:Headquarter8302/sandbox/Template:Button/doc: Difference between revisions

Jump to navigation Jump to search
m
testin
m (testin)
 
Line 3: Line 3:
== Example ==
== Example ==
'''Input:'''
'''Input:'''
<pre>[[Main Page|<span class="mw-ui-button mw-ui-progressive mw-ui-block" style="margin:auto;"> Go to Main Page</span>]]</pre>
<pre>{{Button|Main Page|Go to Main Page}}</pre>
<br>
<br>
'''Output:'''
'''Output:'''
[[Main Page|<span class="mw-ui-button mw-ui-progressive mw-ui-block" style="margin:auto;"> Go to Main Page</span>]]
{{User:Headquarter8302/sandbox/Template:Button|Main Page|Go to Main Page}}
----
----
'''Input:'''
'''Input:'''
<pre>[[Portal 2|<span class="mw-ui-button mw-ui-progressive mw-ui-block" style="margin:auto;"> Click here to be redirected to Portal 2</span>]]</pre>
<pre>{{Button|Portal 2|Click here to be redirected to Portal 2}}</pre>
<br>
<br>
'''Output:'''
'''Output:'''
[[Portal 2|<span class="mw-ui-button mw-ui-progressive mw-ui-block" style="margin:auto;"> Click here to be redirected to Portal 2</span>]]
{{User:Headquarter8302/sandbox/Template:Button|Portal 2|Click here to be redirected to Portal 2}}
1,261

edits

Navigation menu