Template:Show: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
 
Line 8: Line 8:
Without template:show:
Without template:show:


<pre>{{unlock|{{current}}|Hide under current version; show otherwise|Show under current version; hide otherwise}}</pre>
{{unlock|{{current}}|Hide under current version; show otherwise|Show under current version; hide otherwise}}


Using <nowiki>{{show}}</nowiki>:
Using <nowiki>{{show}}</nowiki>:

Latest revision as of 15:09, 13 May 2021

Usage

Activates preview for template:unlock. Put it at the top of a page to show, what locked text would look like.

Please, use temporarily only! Otherwise the purpose of template:unlock is undercut!

Example

{{unlock|{{current}}|Hide under current version; show otherwise|Show under current version; hide otherwise}}

delivers

Without template:show:

Show under current version; hide otherwise

Using {{show}}:


🗒️ This page is in preview mode below this note; comp. template:show.

Hide under current version; show otherwise