Difference between revisions of "Template:AddNewSection/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>WT79
(attempt to fix)
blackwiki>WT79
(fix with <var>?)
Line 1: Line 1:
 
<includeonly><!--
 
<includeonly><!--
  -->{{#ifeq:{{{Tab|No}}}|Yes |{{#ifeq:{{#if: {{{Page|{{FULLPAGENAME}}}}}|{{{Page|{{FULLPAGENAME}}}}}|{{#if: {{{1|}}}|{{{1|}}}|{{#if: {{{page|}}}|{{{page|}}}}}}} }}|{{FULLPAGENAME}} |__NEWSECTIONLINK__}}}}<!--
+
  --><var name=Page>{{#if: {{{Page|{{FULLPAGENAME}}}}}|{{{Page|{{FULLPAGENAME}}}}}|{{#if: {{{1|}}}|{{{1|}}}|{{#if: {{{page|}}}|{{{page|}}}}}}} }}</var><!--
 
  --><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/{{#if: {{{Page|{{FULLPAGENAME}}}}}|{{{Page|{{FULLPAGENAME}}}}}|{{#if: {{{1|}}}|{{{1|}}}|{{#if: {{{page|}}}|{{{page|}}}}}}} }} |<!--
+
       -->{{fullurl:Special:NewSection/<var name=Page/> |<!--
 
           -->{{#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:{{#if: {{{Page|{{FULLPAGENAME}}}}}|{{{Page|{{FULLPAGENAME}}}}}|{{#if: {{{1|}}}|{{{1|}}}|{{#if: {{{page|}}}|{{{page|}}}}}}} }} |Add a new section at the end of the page '{{#if: {{{Page|{{FULLPAGENAME}}}}}|{{{Page|{{FULLPAGENAME}}}}}|{{#if: {{{1|}}}|{{{1|}}}|{{#if: {{{page|}}}|{{{page|}}}}}}} }}' |{{int:Red-link-title/{{{Lang|{{CONTENTLANGUAGE}}}}}|{{#if: {{{Page|{{FULLPAGENAME}}}}}|{{{Page|{{FULLPAGENAME}}}}}|{{#if: {{{1|}}}|{{{1|}}}|{{#if: {{{page|}}}|{{{page|}}}}}}} }} }} }}<!---->}}}"><!--
+
             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 }} }}<!---->}}}"><!--
 
             -->{{{Text|{{int:Tooltip-ca-addsection/{{{Lang|{{CONTENTLANGUAGE}}}}} }}<!---->}}}<!--
 
             -->{{{Text|{{int:Tooltip-ca-addsection/{{{Lang|{{CONTENTLANGUAGE}}}}} }}<!---->}}}<!--
 
       --></span><!--
 
       --></span><!--

Revision as of 09:02, 20 May 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.