Template:Clickable button/doc: Difference between revisions

From wikilawschool.net. Wiki Law School does not provide legal advice. For educational purposes only.
(Created page with "This template creates a OOUI styled button. == Example == To create: {{Clickable button|Put text here|color=white}} → type: <nowiki>{{Clickable button|Put text here|color=w...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


== Example ==
== Example ==
To create: {{Clickable button|Put text here|color=white}} → type: <nowiki>{{Clickable button|Put text here|color=white}}</nowiki>
To create: {{Clickable button|Put text here|color=white}} → type: <code><nowiki>{{Clickable button|Put text here|color=white}}</nowiki></code>


To create: {{Clickable button|Put text here|color=red}} → type: <nowiki>{{Clickable button|Put text here|color=red}}</nowiki>
To create: {{Clickable button|Put text here|color=red}} → type: <code><nowiki>{{Clickable button|Put text here|color=red}}</nowiki></code>


To create: {{Clickable button|Put text here|color=blue}} → type: <nowiki>{{Clickable button|Put text here|color=blue}}</nowiki>
To create: {{Clickable button|Put text here|color=blue}} → type: <code><nowiki>{{Clickable button|Put text here|color=blue}}</nowiki></code>
 
== Linking ==
 
To link to another Wiki Law School page: [[Main Page|{{Clickable button|Click to go to Main Page|color=white}}]] → type: <code><nowiki>[[Main Page|{{Clickable button|Click to go to Main Page|color=white}}]]</nowiki></code>
 
 
To link to an external web page: [http://www.example.com {{Clickable button|example.com|color=white}}] → type: <code><nowiki>[http://www.example.com {{Clickable button|example.com|color=white}}]</nowiki></code>

Latest revision as of 17:59, January 20, 2020

This template creates a OOUI styled button.

Example[edit source]

To create: Put text here → type: {{Clickable button|Put text here|color=white}}

To create: Put text here → type: {{Clickable button|Put text here|color=red}}

To create: Put text here → type: {{Clickable button|Put text here|color=blue}}

Linking[edit source]

To link to another Wiki Law School page: Click to go to Main Page → type: [[Main Page|{{Clickable button|Click to go to Main Page|color=white}}]]


To link to an external web page: example.com → type: [http://www.example.com {{Clickable button|example.com|color=white}}]