Difference between revisions of "Template:Button/doc"

From Xen
m (Changing the style)
Line 18: Line 18:
 
{{Button|[[Sandbox]]|style=btn-success}}
 
{{Button|[[Sandbox]]|style=btn-success}}
 
{{Button|[[Sandbox|Another Link]]|style=btn-big}}
 
{{Button|[[Sandbox|Another Link]]|style=btn-big}}
{{Button|[http://www.mediawiki.org]|style=btn-small btn-success}}</pre>
+
{{Button|[http://www.mediawiki.org External]|style=btn-small btn-success}}</pre>
   
 
These render as:<br>
 
These render as:<br>
 
{{Button|[[Sandbox]]|style=btn-success}}
 
{{Button|[[Sandbox]]|style=btn-success}}
 
{{Button|[[Sandbox|Another Link]]|style=btn-big}}
 
{{Button|[[Sandbox|Another Link]]|style=btn-big}}
{{Button|[http://www.mediawiki.org]|style=btn-small btn-success}}
+
{{Button|[http://www.mediawiki.org External]|style=btn-small btn-success}}

Revision as of 14:57, 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 External]|style=btn-small btn-success}}

These render as:
Sandbox Another Link External