Sablon:Button/doc
Innen: SCWIKI
More actions
This is a documentation subpage for 'Sablon:Button'.
It contains usage information, categories, and other content that is not part of the original template page.
Create a button that is actually a link
Usage
{{Button|label=Best ship|page=Carrack}} gives
{{Button|label=RSI site|url=https://robertsspaceindustries.com}} gives
{{Button|label=Best mascot|page=Pico|type=primary}} gives
{{Button|label=Lando's favourite ship|page=Carrack|type=secondary}} gives
TemplateData
Create a button that is actually a link
| Paraméter | Leírás | Típus | Állapot | |
|---|---|---|---|---|
| Label | label | Label text of the button | Karakterlánc | ajánlott |
| Page name | page | Wiki page name | Lapcím | nem kötelező |
| URL | url | URL of the site linked | URL | nem kötelező |
| Button type | type | Type of the button
| Karakterlánc | nem kötelező |
| HTML class | class | HTML class added to the button | Karakterlánc | nem kötelező |