Difference between revisions of "Template:AddNewSection/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>WT79
(fix with <var>?)
m (14 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly><!--
 
<includeonly><!--
  --><var name=Page>{{#if: {{{Page|{{FULLPAGENAME}}}}}|{{{Page|{{FULLPAGENAME}}}}}|{{#if: {{{1|}}}|{{{1|}}}|{{#if: {{{page|}}}|{{{page|}}}}}}} }}</var><!--
+
  -->{{#ifeq:{{{Tab|No}}}|Yes |{{#ifeq:{{{Page|{{FULLPAGENAME}}}}}|{{FULLPAGENAME}} |__NEWSECTIONLINK__}}}}<!--
 
  --><span id="{{#if:{{{Anchor|}}} |{{{Anchor}}} |AddNewSection Anchor}}" class="plainlinks"><!--
 
  --><span id="{{#if:{{{Anchor|}}} |{{{Anchor}}} |AddNewSection Anchor}}" class="plainlinks"><!--
 
     -->[<!--(start link:)
 
     -->[<!--(start link:)
       -->{{fullurl:Special:NewSection/<var name=Page/> |<!--
+
       -->{{fullurl:Special:NewSection/{{{Page|{{FULLPAGENAME}}}}} |<!--
 
           -->{{#if:{{{Preload|}}}  |&preload={{urlencode:{{{Preload}}}}}}}<!--
 
           -->{{#if:{{{Preload|}}}  |&preload={{urlencode:{{{Preload}}}}}}}<!--
 
           -->{{#if:{{{Subject|}}}  |&preloadtitle={{urlencode:{{{Subject}}}}}}}<!--
 
           -->{{#if:{{{Subject|}}}  |&preloadtitle={{urlencode:{{{Subject}}}}}}}<!--
Line 11: Line 11:
 
       --><span id="{{#if:{{{Anchor|}}} | |Anchor:AddNewSection Anchor}}"
 
       --><span id="{{#if:{{{Anchor|}}} | |Anchor:AddNewSection Anchor}}"
 
             style="color:{{{colour|{{{color|}}}}}};{{{style|}}}"
 
             style="color:{{{colour|{{{color|}}}}}};{{{style|}}}"
             title="{{{Tooltip|{{#ifexist:<var name=Page/> |Add a new section at the end of the page '<var name=Page/>' |{{int:Red-link-title/{{{Lang|{{CONTENTLANGUAGE}}}}}|<var name=Page/>n }} }}<!---->}}}"><!--
+
             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}}}}} }}<!---->}}}<!--
 
             -->{{{Text|{{int:Tooltip-ca-addsection/{{{Lang|{{CONTENTLANGUAGE}}}}} }}<!---->}}}<!--
 
       --></span><!--
 
       --></span><!--

Latest revision as of 04:57, 17 October 2020

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.