Difference between revisions of "Template:AddNewSection/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>Sardanaphalus
(Created with copy of current main template)
 
blackwiki>Sardanaphalus
(disabled includeonly, made code intelligible, added ?missing </span>)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{Tab|No}}}|Yes|{{#ifeq:{{{Page|{{FULLPAGENAME}}}}}|{{FULLPAGENAME}}|__NEWSECTIONLINK__}}}}<span id="{{#if:{{{Anchor|}}}|{{{Anchor}}}|AddNewSection Anchor}}" class="plainlinks">[{{fullurl:{{{Page|{{FULLPAGENAME}}}}}|action=edit&section=new{{#if:{{{Preload|}}}|&preload={{urlencode:{{{Preload}}}}}}}{{#if:{{{Subject|}}}|&preloadtitle={{urlencode:{{{Subject}}}}}}}{{#if:{{{Editintro|}}}|&editintro={{urlencode:{{{Editintro}}}}}}}{{#ifeq:{{{Lang|{{CONTENTLANGUAGE}}}}}|{{CONTENTLANGUAGE}}||&uselang={{{Lang}}}}}}} <span id="{{#if:{{{Anchor|}}}||Anchor:AddNewSection Anchor}}" title="{{{Tooltip|{{#ifexist:{{{Page|{{FULLPAGENAME}}}}}|Add a new section at the end of page: {{{Page|{{FULLPAGENAME}}}}}|{{INT:Red-link-title/{{{Lang|{{CONTENTLANGUAGE}}}}}|{{{Page|{{FULLPAGENAME}}}}}}}}}}}}">{{{Text|{{INT:Tooltip-ca-addsection/{{{Lang|{{CONTENTLANGUAGE}}}}}}}}}}]</span></includeonly><noinclude>{{Documentation}}</noinclude>
+
<!--<includeonly>--><!--
 +
-->{{#ifeq:{{{Tab|No}}}|Yes |{{#ifeq:{{{Page|{{FULLPAGENAME}}}}}|{{FULLPAGENAME}} |__NEWSECTIONLINK__}}}}<!--
 +
--><span id="{{#if:{{{Anchor|}}} |{{{Anchor}}} |AddNewSection Anchor}}" class="plainlinks"><!--
 +
    -->[<!--(start link)
 +
      -->{{fullurl:{{{Page|{{FULLPAGENAME}}}}} |action=edit&section=new<!--
 +
          -->{{#if:{{{Preload|}}}   |&preload={{urlencode:{{{Preload}}}}}}}<!--
 +
          -->{{#if:{{{Subject|}}}   |&preloadtitle={{urlencode:{{{Subject}}}}}}}<!--
 +
          -->{{#if:{{{Editintro|}}} |&editintro={{urlencode:{{{Editintro}}}}}}}<!--
 +
          -->{{#ifeq:{{{Lang|{{CONTENTLANGUAGE}}}}}|{{CONTENTLANGUAGE}}||&uselang={{{Lang}}}}}<!--
 +
      -->}} <!--
 +
      --><span id="{{#if:{{{Anchor|}}} | |Anchor:AddNewSection Anchor}}"
 +
            title="{{{Tooltip|{{#ifexist:{{{Page|{{FULLPAGENAME}}}}} |Add a new section at the end of page: {{{Page|{{FULLPAGENAME}}}}} |{{int:Red-link-title/{{{Lang|{{CONTENTLANGUAGE}}}}}|{{{Page|{{FULLPAGENAME}}}}}<!--(end int:)-->}}<!--(end #ifexist:)-->}}<!---->}}}"><!--
 +
          -->{{{Text|{{int:Tooltip-ca-addsection/{{{Lang|{{CONTENTLANGUAGE}}}}}<!--(end int:)-->}}<!---->}}}<!--
 +
      --></span><!--
 +
    -->]<!--(end link)
 +
--></span><!--</includeonly>--><noinclude>
 +
{{Documentation}}
 +
</noinclude>

Revision as of 18:22, 31 October 2014

Start a new section

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

German-language documentation can be found here.

Attention

  • Anker = Anchor
  • Link = Tab
  • Seite = Page
  • Betreff = Subject
  • Level is not available.

|color= or |colour= and |style= may be used to set, respectively, the colo/ur and other CSS styling of the link this template produces.

Use outside the English Wikipedia

The original and its history can be found here.