Registration has been disabled and the moderation extension has been turned off.
Contact an admin on Discord or EDF if you want an account. Also fuck bots.

Template:Pass: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>Bbb23sucks
Created page with "{{{1}}}"
imported>Bbb23sucks
No edit summary
Line 1: Line 1:
{{{1}}}
{{{1}}}<noinclude>
 
== Usage ==
 
Returns first argument with no modification. It can be used to remove templates with a simple replace command. Example by replace "<nowiki>{{SomeTemplate|SomeContent}}</nowiki>" with "<nowiki>{{</nowiki>'''subst:'''<nowiki>pass|SomeContent}}</nowiki>", it will become "SomeContent" when saved.
 
Note: In some specific cases, the replacement will not occur (see [https://phabricator.wikimedia.org/T4700 here] for more information). In this case, just change "subst:pass" to "pass" after the first edit.

Revision as of 13:35, 4 December 2023

{{{1}}}

Usage

Returns first argument with no modification. It can be used to remove templates with a simple replace command. Example by replace "{{SomeTemplate|SomeContent}}" with "{{subst:pass|SomeContent}}", it will become "SomeContent" when saved.

Note: In some specific cases, the replacement will not occur (see here for more information). In this case, just change "subst:pass" to "pass" after the first edit.