Jump to content

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

Template:Action: Difference between revisions

From Debian Wiki
No edit summary
No edit summary
 
Line 2: Line 2:
|edit        = <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} {{{Text|{{{2|edit page}}}}}}]</span>
|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>
|info        = <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=history}} {{{Text|{{{2|page history}}}}}}]</span>
|recoverpass = [https://salsa.debian.org/users/sign_in {{{Text|{{{2|reset your password}}}}}}]
|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>
|subscribe  = <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=watch}} {{{Text|{{{2|watch this page}}}}}}]</span>
|userprefs  = [[Special:Preferences|{{{Text|{{{2|user preferences}}}}}}]]
|userprefs  = [[Special:Preferences|{{{Text|{{{2|user preferences}}}}}}]]

Latest revision as of 14:17, 31 August 2025

<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.