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
Created page with "<pre><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 = {{{Text|{{{2|reset your password}}}}}} |subscribe = <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=watch}} {{{Text|{{{2|watc..."
 
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 = [[Special:PasswordReset|{{{Text|{{{2|reset your password}}}}}}]]
|recoverpass = [https://salsa.debian.org/users/sign_in {{{Text|{{{2|reset your password}}}}}}]
|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}}}}}}]]

Revision as of 14:16, 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 = [https://salsa.debian.org/users/sign_in {{{Text|{{{2|reset your password}}}}}}]
|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.