Difference between revisions of "Template:Lx/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Steel1943
(Attempt to fix span issue)
imported>Steel1943
(Sync)
 
Line 1: Line 1:
<includeonly>{{#if:{{{cfd2|}}}|<span class="plainlinks nourlexpansion lx" style="font-family: monospace;">|<span class="plainlinks nourlexpansion lx">[[{{{1}}}{{{2}}}]]&nbsp;<span style="font-size:90%;">}}(<!--
+
<includeonly><span class="plainlinks nourlexpansion lx" {{#if:{{{cfd2|}}}|style="font-family: monospace;"}}><!--
 +
  -->{{#if:{{{cfd2|}}}||[[{{{1}}}{{{2}}}]]&nbsp;}}<!--
 +
  --><span style="font-size:90%;">(<!--
 
     -->{{#if:{{{noedit|}}}||[{{fullurl:{{{1}}}{{{2}}}|action=edit}} edit] &#124;}} <!--
 
     -->{{#if:{{{noedit|}}}||[{{fullurl:{{{1}}}{{{2}}}|action=edit}} edit] &#124;}} <!--
 
     -->{{#if:{{{notalk|}}}||[[{{{3}}}{{{5|:}}}{{{2}}}|{{{4}}}]] &#124;}} <!--
 
     -->{{#if:{{{notalk|}}}||[[{{{3}}}{{{5|:}}}{{{2}}}|{{{4}}}]] &#124;}} <!--
Line 6: Line 8:
 
     -->{{#if:{{{nowatch|}}}||[{{fullurl:{{{1}}}{{{2}}}|action=watch}} watch] &#124;}} <!--
 
     -->{{#if:{{{nowatch|}}}||[{{fullurl:{{{1}}}{{{2}}}|action=watch}} watch] &#124;}} <!--
 
     -->{{#if:{{{nologs|}}}||[{{fullurl:Special:Log|page={{urlencode:{{{1}}}{{{2}}}}}}} logs]}}<!--
 
     -->{{#if:{{{nologs|}}}||[{{fullurl:Special:Log|page={{urlencode:{{{1}}}{{{2}}}}}}} logs]}}<!--
   -->){{#if:{{{cfd2|}}}||</span>}}</span><!--
+
   -->)</span></span><!--
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 21:20, 27 January 2016

Template documentation[view] [edit] [history] [purge]

{{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.)