Template:Main button: Difference between revisions

From Beyond These Stars Official Wiki
Created for use on the main page only.
 
m renaming css class
 
Line 1: Line 1:
<includeonly><div class="bts-main-button">[[{{{1|}}}{{#if: {{{2|}}}| {{!}} {{{2}}}}}]]</div></includeonly><noinclude>
<includeonly><div class="bts-main-menu-button">[[{{{1|}}}{{#if: {{{2|}}}| {{!}} {{{2}}}}}]]</div></includeonly><noinclude>


{{Template doc
{{Template doc

Latest revision as of 01:57, 14 October 2026


Displays a wiki link styled as a button.

Usage

Use on main page only.

ParameterPurpose
1 page name to which to link and display
2 optional override of display text, if any

Examples

<div style="width: 300px;">{{Main button|Main page}}</div>

Copypasta

{{Main button| }}