Template:MainPageButton/editcopy

Revision as of 16:05, 16 January 2026 by Ivan (talk | contribs) (Created page with "<includeonly><div {{#if: {{{id|}}} | id="{{{id}}}"}} class="mp-button {{{class|}}} {{#if: {{{progressive|}}} | mp-button-progressive}}" {{#if: {{{style|}}} | style="{{{style}}}"}} {{#if: {{{lang|}}} | lang="{{{lang}}}"}}>{{#if: {{{nolink|}}} | {{{1|}}} | {{#if: {{#pos: {{{1}}} | // }} | [{{{1}}} <span>{{{2|{{{1}}}}}}</span>] | [[:{{{1}}}|<span>{{{2|{{{1}}}}}}</span>]] }} }}</div></includeonly><noinclude> === Documentation === == Usage == <syntaxhighlight lang="wikitext">...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation

Usage

{{TemplateOrCopy|MainPageButton
| id = HTML id attribute
| class = additional HTML classes
| progressive = if not empty, style the button as progressive (colored)
| style = HTML style attribute
| lang = HTML lang attribute
| nolink = does not create a link, used for JS buttons
| 1 = link
| 2 = link text
}}

Examples

{{TemplateOrCopy|MainPageButton|Structorica|Learn more about Structorica}}: