Difference between revisions of "Template:!"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created a template to make table syntax in templates easier (see w:Template:!).)
 
m (This template is obsolete, replaced by a magic word, but it should be preserved to help people know what's going on when they use {{!}}.)
Line 1: Line 1:
 
|<noinclude>
 
|<noinclude>
  
This template makes it easier to use table syntax in templates.
+
{{Tlx|!}} is used to encode "|"(pipe or vertical bar) within template parameters.  It is used for things such as passing table syntax to templates.
 +
 
 +
In theory, this template is obsolete as of MediaWiki 1.24, having been replaced by a [[mw:Help:Magic words#Other|magic word]].  Pages should no longer be able to transclude it via the normal method.
 +
 
 +
At present, our wiki seems to think some [[Special:WhatLinksHere/{{FULLPAGENAME}}|pages still use it]].  When it does eventually drop from obvious usage, this template should probably remain to avoid confusion about how something which looks like a template is working after being deleted.  It also serves to point them in the direction of the documentation.
  
 
[[Category:Templates|!]]</noinclude>
 
[[Category:Templates|!]]</noinclude>

Revision as of 05:03, 31 May 2015

|

{{!}} is used to encode "|"(pipe or vertical bar) within template parameters. It is used for things such as passing table syntax to templates.

In theory, this template is obsolete as of MediaWiki 1.24, having been replaced by a magic word. Pages should no longer be able to transclude it via the normal method.

At present, our wiki seems to think some pages still use it. When it does eventually drop from obvious usage, this template should probably remain to avoid confusion about how something which looks like a template is working after being deleted. It also serves to point them in the direction of the documentation.