Difference between revisions of "Template:Show"

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
 
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 16: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.

Rufzeichen.png 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}}:


Note.png This page is in preview mode below this note; comp. template:show.

Hide under current version; show otherwise