Difference between revisions of "Template:Lx/sandbox"
Jump to navigation
Jump to search
imported>Sardanaphalus (linksize) |
imported>Sardanaphalus m (dealigned {{{separator| }}}s) |
||
| Line 2: | Line 2: | ||
--><span class="plainlinks nourlexpansion lx">[[{{{1}}}{{{2}}}]] <!-- | --><span class="plainlinks nourlexpansion lx">[[{{{1}}}{{{2}}}]] <!-- | ||
--><span style="font-family:monospace;font-size:{{{linksize|100%}}};">(<!-- | --><span style="font-family:monospace;font-size:{{{linksize|100%}}};">(<!-- | ||
| − | -->{{#if:{{{noedit|}}} | |[{{fullurl:{{{1}}}{{{2}}}|action=edit}} edit] | + | -->{{#if:{{{noedit|}}} | |[{{fullurl:{{{1}}}{{{2}}}|action=edit}} edit]{{{separator| }}}}}<!-- |
| − | -->{{#if:{{{notalk|}}} | |[[{{{3}}}{{{5|:}}}{{{2}}}|{{{4}}}]] | + | -->{{#if:{{{notalk|}}} | |[[{{{3}}}{{{5|:}}}{{{2}}}|{{{4}}}]]{{{separator| }}}}}<!-- |
| − | -->{{#if:{{{nohistory|}}} | |[{{fullurl:{{{1}}}{{{2}}}|action=history}} history] | + | -->{{#if:{{{nohistory|}}} | |[{{fullurl:{{{1}}}{{{2}}}|action=history}} history]{{{separator| }}}}}<!-- |
-->{{#if:{{{nolinks|}}} | |[{{fullurl:Special:Whatlinkshere/{{{1}}}{{{2}}}|limit=999}} links]{{{separator| }}}}}<!-- | -->{{#if:{{{nolinks|}}} | |[{{fullurl:Special:Whatlinkshere/{{{1}}}{{{2}}}|limit=999}} links]{{{separator| }}}}}<!-- | ||
| − | -->{{#if:{{{nowatch|}}} | |[{{fullurl:{{{1}}}{{{2}}}|action=watch}} watch] | + | -->{{#if:{{{nowatch|}}} | |[{{fullurl:{{{1}}}{{{2}}}|action=watch}} watch]{{{separator| }}}}}<!-- |
-->{{#if:{{{nologs|}}} | |[{{fullurl:Special:Log|page={{urlencode:{{{1}}}{{{2}}}}}}} logs]}}<!-- | -->{{#if:{{{nologs|}}} | |[{{fullurl:Special:Log|page={{urlencode:{{{1}}}{{{2}}}}}}} logs]}}<!-- | ||
-->)</span><!-- | -->)</span><!-- | ||
--></span><!-- | --></span><!-- | ||
--></includeonly><noinclude>{{Documentation}}</noinclude> | --></includeonly><noinclude>{{Documentation}}</noinclude> | ||
Revision as of 22:46, 17 November 2014
| File:Sandbox.svg | 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. |