Template:Blue button: Difference between revisions
Content deleted Content added
LincolnBot (talk | contribs) |
GVarnum-WMF (talk | contribs) m Protected "Template:Blue button": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
<noinclude><languages /> |
|||
⚫ | |||
--><span class="plainlinks">{{#if:{{{elink|}}}|[{{{elink}}} <span class="blue-button" style="text-rendering: optimizelegibility; transition: all 100ms;">{{{text|{{{1}}}}}}</span>]|{{#if:{{{link|}}}|[[{{{link}}}|<span class="blue-button" style="text-rendering: optimizelegibility; transition: all 100ms;">{{{text|{{{1}}}}}}</span>]]|<span class="blue-button" style="text-rendering: optimizelegibility; transition: all 100ms;">{{{1|{{{text<includeonly>|</includeonly>}}} }}} |
--><span class="plainlinks">{{#if:{{{elink|}}}|[{{{elink}}} <span class="blue-button" style="text-rendering: optimizelegibility; transition: all 100ms;">{{{text|{{{1}}}}}}</span>]|{{#if:{{{link|}}}|[[{{{link}}}|<span class="blue-button" style="text-rendering: optimizelegibility; transition: all 100ms;">{{{text|{{{1}}}}}}</span>]]|<span class="blue-button" style="text-rendering: optimizelegibility; transition: all 100ms;">{{{1|{{{text<includeonly>|</includeonly>}}} }}} |
||
</span> }} }}</span><noinclude> |
</span> }} }}</span><noinclude> |
Latest revision as of 10:24, 27 March 2024
This template uses TemplateStyles: |
Creates a blue button, similar to how MediaWiki's built-in buttons (publish button etc.) look like.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Button label | text 1 | Text displayed on the button, preferably without any formatting (inline formatting like bold/italics etc. work, but a real button wouldn't use them, so it reduces mimicking). Suggested values will be automatically localized.
| Line | required |
link target (internal) | link | Page the button should link to, may contain interwiki prefix
| Page name | optional |
link target (external) | elink | URL the button should link to, overrides the internal link target
| URL | optional |