Difference between revisions of "Template:AddNewSection"
(Undo revision 82 by Aditya Chadha (talk)) |
|||
Line 1: | Line 1: | ||
− | {{#ifeq:{{{Tab|No}}}|Yes|{{#ifeq:{{{Page|{{FULLPAGENAME}}}}}|{{FULLPAGENAME}}|__NEWSECTIONLINK__}}}}<span id="{{#if:{{{Anchor|}}}|{{{Anchor}}}|AddNewSection Anchor}}" class="plainlinks">[{{fullurl:{{{Page|{{FULLPAGENAME}}}}}|action=edit§ion=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>{{#ifeq:{{{Tab|No}}}|Yes|{{#ifeq:{{{Page|{{FULLPAGENAME}}}}}|{{FULLPAGENAME}}|__NEWSECTIONLINK__}}}}<span id="{{#if:{{{Anchor|}}}|{{{Anchor}}}|AddNewSection Anchor}}" class="plainlinks">[{{fullurl:{{{Page|{{FULLPAGENAME}}}}}|action=edit§ion=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> |