Template:Button/doc: Difference between revisions
From Xen
Jump to navigationJump to search
Lars.kurth (talk | contribs) No edit summary |
Lars.kurth (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
== Usage == |
== Usage == |
||
=== Basic === |
|||
<pre> |
<pre> |
||
{{Button|[[Sandbox]]}} |
{{Button|[[Sandbox]]}} |
||
Line 12: | Line 13: | ||
{{Button|[http://www.mediawiki.org]}} |
{{Button|[http://www.mediawiki.org]}} |
||
{{Button|[http://www.mediawiki.org/ External Link]}} |
{{Button|[http://www.mediawiki.org/ External Link]}} |
||
=== Changing the style === |
|||
<pre> |
|||
{{Button|[[Sandbox]]|style=btn-success}} |
|||
{{Button|[[Sandbox|Another Link]]|style=btn-big}} |
|||
{{Button|[http://www.mediawiki.org]|style=btn-small btn-success}}</pre> |
|||
These render as:<br> |
|||
{{Button|[[Sandbox]]|style=btn-success}} |
|||
{{Button|[[Sandbox|Another Link]]|style=btn-big}} |
|||
{{Button|[http://www.mediawiki.org]|style=btn-small btn-success}} |
Revision as of 14:56, 22 June 2013
Usage
Basic
{{Button|[[Sandbox]]}} {{Button|[[Sandbox|Another Link]]}} {{Button|[http://www.mediawiki.org]}} {{Button|[http://www.mediawiki.org/ External Link]}}
These render as:
Sandbox
Another Link
[1]
External Link
Changing the style
{{Button|[[Sandbox]]|style=btn-success}} {{Button|[[Sandbox|Another Link]]|style=btn-big}} {{Button|[http://www.mediawiki.org]|style=btn-small btn-success}}
These render as:
Sandbox
Another Link
[2]