Template:Button: Difference between revisions
From CTLTMS
m (Minor correction) |
(Added configurable label) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[File:{{{1|Unknown}}}.png|18px|Button|link=]] '''{{{1|Unknown}}}'''<noinclude> | {{#ifexist: File:{{{1|Unknown}}}.png | [[File:{{{1|Unknown}}}.png|18px|Button|link=]] | }} '''{{{2|{{{1|Unknown}}}}}}'''<noinclude> | ||
== Usage == | == Usage == | ||
The following displays the button icon and the description in bold after it | The following displays the button icon and the description in bold after it. | ||
<nowiki>{{Button|New}} </nowiki> This is a new button. | <nowiki>{{Button|New}} </nowiki> This is a new button. | ||
{{Button|New}}</nowiki> This is a new button. | {{Button|New}} This is a new button. | ||
You can select a button and have a different label against it using a second parameter. For example: | |||
<nowiki>{{Button|Detail|Tyres}} </nowiki> This is a new button. | |||
{{Button|Detail|Tyres}} | |||
The following buttons are supported: | |||
{| class="wikitable" border="1" | |||
|- | |||
| {{Button|Set Default}}. | |||
| {{Button|Load Schedule}}. | |||
| {{Button|Save As}}. | |||
|- | |||
| {{Button|Right}}. | |||
| {{Button|Left}}. | |||
| {{Button|Call-out}}. | |||
|- | |||
| {{Button|Lookup}}. | |||
| {{Button|Edit}}. | |||
| {{Button|Calendar}}. | |||
|- | |||
| {{Button|Add}}. | |||
| {{Button|Sign Out}}. | |||
| {{Button|Pin}}. | |||
|- | |||
| {{Button|Menu}}. | |||
| {{Button|Last}}. | |||
| {{Button|Home}}. | |||
|- | |||
| {{Button|First}}. | |||
| {{Button|Close}}. | |||
| {{Button|Back to Top}}. | |||
|- | |||
| {{Button|Widget}}. | |||
| {{Button|Unknown}}. | |||
| {{Button|Undo}}. | |||
|- | |||
| {{Button|Toggle}}. | |||
| {{Button|Template}}. | |||
| {{Button|Split}}. | |||
|- | |||
| {{Button|Settings}}. | |||
| {{Button|Save}}. | |||
| {{Button|Refresh}}. | |||
|- | |||
| {{Button|Query}}. | |||
| {{Button|Print}}. | |||
| {{Button|New}}. | |||
|- | |||
| {{Button|Map}}. | |||
| {{Button|Help}}. | |||
| {{Button|Export to Excel}}. | |||
|- | |||
| {{Button|Export to CSV}}. | |||
| {{Button|Delete}}. | |||
| {{Button|Copy}}. | |||
|- | |||
| {{Button|Consolidate}}. | |||
| {{Button|Column Selector}}. | |||
| {{Button|Collapse}}. | |||
|- | |||
| {{Button|Clear}}. | |||
| {{Button|Cancel}}. | |||
| {{Button|Booking}}. | |||
|- | |||
| {{Button|Unset Default}}. | |||
| {{Button|Detail}}. | |||
| {{Button|Fleet Inspection}} | |||
|} | |||
Any other buttons will be given the {{Button|Unknown}} button, unless you upload a picture with an identical name. For example, upload an image "My New Button.png" and access it with <nowiki>{{Button|My New Button}}</nowiki>. {{Note}} This is case-sensitive! | |||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Latest revision as of 09:39, 15 April 2024
Unknown
Usage
The following displays the button icon and the description in bold after it.
{{Button|New}} This is a new button.
New This is a new button.
You can select a button and have a different label against it using a second parameter. For example:
{{Button|Detail|Tyres}} This is a new button.
Tyres
The following buttons are supported:
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Any other buttons will be given the Unknown button, unless you upload a picture with an identical name. For example, upload an image "My New Button.png" and access it with {{Button|My New Button}}.
Note: This is case-sensitive!