Template:Lwx/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{Doc/subpage}}
{{Doc/subpage}}
{{Wikipedia port|documentation=1}}
{{Wikipedia port|documentation=1|Template:Lx}}
<!-- Please place categories where indicated at the bottom of this page -->
<!-- Please place categories where indicated at the bottom of this page -->
<nowiki>{{Lwx|Tag|Name|Namespace|Label}}</nowiki> produces {{Lwx|Tag|Name|Namespace|Label}}
<nowiki>{{Lwx|Tag|Name|Namespace|Label}}</nowiki> produces {{Lwx|Tag|Name|Namespace|Label}}

Latest revision as of 19:33, 14 August 2024

Edit-copy.png
This is a documentation subpage for Template:Lwx.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

{{Lwx|Tag|Name|Namespace|Label}} produces TagName (edit | Label | history | links | watch | logs)

This template is a metatemplate for the Template:Ln-family. This template should normally not be used on its own. Its purpose is to ensure that all ln-template looks the same.

Optional parameters

  • noedit - adding noedit=yes will disable and hide the "edit" link.
  • notalk - adding notalk=yes will disable and hide the customizable link. (This link is usually customized as a "talk" link in templates that transclude this template.)
  • nohistory - adding nohistory=yes will disable and hide the "history" link.
  • nolinks - adding nolinks=yes will disable and hide the "links" link.
  • nowatch - adding nowatch=yes will disable and hide the "watch" link.
  • nologs - adding nologs=yes will disable and hide the "logs" link. (At this time, using this parameter unfortunately doesn't hide the "|" that appears before the "logs" link; however, there will probably never be a case where the "logs" link should not appear.)