Difference between revisions of "Template:AddNewSection/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>Sardanaphalus
(Created with copy of current main template)
 
m (14 revisions imported)
 
(13 intermediate revisions by 6 users not shown)
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:Special:NewSection/{{{Page|{{FULLPAGENAME}}}}} |<!--
 +
          -->{{#if:{{{Preload|}}}   |&preload={{urlencode:{{{Preload}}}}}}}<!--
 +
          -->{{#if:{{{Subject|}}}   |&preloadtitle={{urlencode:{{{Subject}}}}}}}<!--
 +
          -->{{#if:{{{Editintro|}}} |&editintro={{urlencode:{{{Editintro}}}}}}}<!--
 +
          -->{{#ifeq:{{{Lang|{{CONTENTLANGUAGE}}}}}|{{CONTENTLANGUAGE}}||&uselang={{{Lang}}}}}<!--
 +
      -->}} <!--(label:)
 +
      --><span id="{{#if:{{{Anchor|}}} | |Anchor:AddNewSection Anchor}}"
 +
            style="color:{{{colour|{{{color|}}}}}};{{{style|}}}"
 +
            title="{{{Tooltip|{{#ifexist:{{{Page|{{FULLPAGENAME}}}}} |Add a new section at the end of the page '{{{Page|{{FULLPAGENAME}}}}}' |{{int:Red-link-title/{{{Lang|{{CONTENTLANGUAGE}}}}}|{{{Page|{{FULLPAGENAME}}}}} }} }}<!---->}}}"><!--
 +
            -->{{{Text|{{int:Tooltip-ca-addsection/{{{Lang|{{CONTENTLANGUAGE}}}}} }}<!---->}}}<!--
 +
      --></span><!--
 +
    -->]<!--(end link)
 +
--></span><!--
 +
--></includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 04:57, 17 October 2020

50px 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.