Difference between revisions of "Template:Lx/sandbox"
Jump to navigation
Jump to search
imported>Technical 13 (Removed extra parameter which there is no consensus for. This essentially gets us back to a base version of the sandbox synced with live template.) |
imported>Technical 13 (Updated to allow compressing links the same as Template:La does. Going to the testcases page to see if it broke anything. Also, there was a request to replace the link to stats.grok.se to a new pagehit counter page hosted on wmflabs. See TTalk:) |
||
| Line 1: | Line 1: | ||
| − | <includeonly><span class="plainlinks nourlexpansion lx">[[{{{1}}}{{{2}}}]] <tt>(</tt>[{{fullurl:{{{1}}}{{{2}}}|action=edit}} | + | <includeonly><span id="{{anchorencode:{{{1}}}}}"></span><span class="plainlinks nourlexpansion lx">[[{{{1|}}}{{{2}}}]] <span class="ln-condensed-link-toolbar"><tt>(</tt>[{{fullurl:{{{1}}}{{{2}}}|action=edit}} <span class="ln-condensed-link-abbr">e<span class="ln-condensed-link-list">dit</span></span>]<tt>|</tt>[[{{{3|Talk:}}}:{{{2}}}|{{{4|<span class="ln-condensed-link-abbr">t<span class="ln-condensed-link-list">alk</span></span>}}}]]<tt>|</tt>[{{fullurl:{{{1}}}{{{2}}}|action=history}} <span class="ln-condensed-link-abbr">h<span class="ln-condensed-link-list">istory</span></span>]<span class="sysop-show"><tt>|</tt>[{{fullurl:{{{1}}}{{{2}}}|action=protect}} <span class="ln-condensed-link-abbr">p<span class="ln-condensed-link-list">rotect</span></span>]<tt>|</tt>[{{fullurl:{{{1}}}{{{2}}}|action=delete}} <span class="ln-condensed-link-abbr">d<span class="ln-condensed-link-list">elete</span></span>]</span><tt>|</tt>[{{fullurl:Special:Whatlinkshere/{{{1}}}{{{2}}}|limit=999}} <span class="ln-condensed-link-abbr">l<span class="ln-condensed-link-list">i</span>nk<span class="ln-condensed-link-list">s</span></span>]<tt>|</tt>[{{fullurl:{{{1}}}{{{2}}}|action=watch}} <span class="ln-condensed-link-abbr">w<span class="ln-condensed-link-list">atch</span></span>]<tt>|</tt>[{{fullurl:Special:Log|page={{urlencode:{{{1}}}{{{2}}}}}}} <span class="ln-condensed-link-abbr">log<span class="ln-condensed-link-list">s</span></span>]<tt>|</tt>[http://stats.grok.se/en/latest90/{{urlencode:{{{1}}}{{{2}}}|WIKI}} <span class="ln-condensed-link-abbr">v</span><span class="ln-condensed-link-list">iews</span>]<tt>)</tt></span></span></includeonly><noinclude> |
{{documentation}} | {{documentation}} | ||
| + | <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> | ||
</noinclude> | </noinclude> | ||
Revision as of 21:28, 28 January 2014
| This is the template sandbox page for Template:Lx (diff). See also the companion subpage for test cases. |
{{Lx|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 false 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 false 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.)
| The above documentation is transcluded from Template:Lx/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |