Jump to content

Do not begin to migrate content here, it may be wiped without notice. More info.

Template:Action

From Debian Wiki
<onlyinclude>{{#switch: {{{Action|{{{1|}}}}}}
|edit        = <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} {{{Text|{{{2|edit page}}}}}}]</span>
|info        = <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=history}} {{{Text|{{{2|page history}}}}}}]</span>
|recoverpass = <span class="plainlinks">[https://salsa.debian.org/users/sign_in {{{Text|{{{2|reset your password}}}}}}]</span>
|subscribe   = <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=watch}} {{{Text|{{{2|watch this page}}}}}}]</span>
|userprefs   = [[Special:Preferences|{{{Text|{{{2|user preferences}}}}}}]]
}}</onlyinclude>

MoinMoin-style action

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
ActionAction 1

Action to take

Suggested values
edit info recoverpass subscribe userprefs
Linerequired
texttext 2

Link text

Lineoptional

Provides equivalent functionality to MoinMoin's old <<Action()>> macro. Note that this only replicates functionality that existed on the Debian wiki at the time of migration - other actions may be supported by MoinMoin itself.