Template:Lua sidebar: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Tom.Reding
Introduce a 2nd unnamed parameter to specify an alternate basepagename, to make this usable on sub-templates/modules
Ookami (talk | contribs)
m 18 revisions imported
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Sidebar|width=238px
{{Sidebar|width=238px
| title = Related links
| title = Related pages
| content1 = {{div col|colwidth=8em}}
| content1 = {{div col|colwidth=8em}}
<div class="plainlist">
<div class="plainlist">
* [[Template:{{#if:{{{2|}}}|{{{2|}}}|{{BASEPAGENAME}}}}}|Template]] {{#if:{{#invoke:redirect|isRedirect|Template talk:{{#if:{{{2|}}}|{{{2|}}}|{{BASEPAGENAME}}}}}}}||([[Template talk:{{#if:{{{2|}}}|{{{2|}}}|{{BASEPAGENAME}}}}}|talk]])}}
* [[Template:{{{template|{{{title|{{BASEPAGENAME}}}}}}}}|Template]] {{#if:{{#invoke:redirect|isRedirect|Template talk:{{{template|{{{title|{{BASEPAGENAME}}}}}}}}}}||([[Template talk:{{{template|{{{title|{{BASEPAGENAME}}}}}}}}|talk]])}}
* [[Template:{{#if:{{{2|}}}|{{{2|}}}|{{BASEPAGENAME}}}}}/sandbox|Template sandbox]]
* [[Template:{{{template|{{{title|{{BASEPAGENAME}}}}}}}}/sandbox|Template sandbox]]
* [[Template:{{#if:{{{2|}}}|{{{2|}}}|{{BASEPAGENAME}}}}}/testcases|Template testcases]]
* [[Template:{{{template|{{{title|{{BASEPAGENAME}}}}}}}}/testcases|Template testcases]]
* [[Special:PrefixIndex/Template:{{#if:{{{2|}}}|{{{2|}}}|{{BASEPAGENAME}}}}}/|Template subpages]]
* [[Template:{{{template|{{{title|{{BASEPAGENAME}}}}}}}}/doc|Template doc]]
* [[Module:{{#if:{{{2|}}}|{{{2|}}}|{{BASEPAGENAME}}}}}|Module]] {{#if:{{#invoke:redirect|isRedirect|Module talk:{{#if:{{{2|}}}|{{{2|}}}|{{BASEPAGENAME}}}}}}}||([[Module talk:{{#if:{{{2|}}}|{{{2|}}}|{{BASEPAGENAME}}}}}|talk]])}}
* [[Special:PrefixIndex/Template:{{{template|{{{title|{{BASEPAGENAME}}}}}}}}/|Template subpages]]
* [[Module:{{#if:{{{2|}}}|{{{2|}}}|{{BASEPAGENAME}}}}}/sandbox|Module sandbox]]
* [[Module:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}|Module]] {{#if:{{#invoke:redirect|isRedirect|Module talk:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}}}||([[Module talk:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}|talk]])}}
* [[Module:{{#if:{{{2|}}}|{{{2|}}}|{{BASEPAGENAME}}}}}/testcases|Module testcases]]
* [[Module:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}/sandbox|Module sandbox]]
* [[Special:PrefixIndex/Module:{{#if:{{{2|}}}|{{{2|}}}|{{BASEPAGENAME}}}}}/|Module subpages]]
* [[Module:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}/testcases|Module testcases]]
* [[Module:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}/doc|Module doc]]
* [[Special:PrefixIndex/Module:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}/|Module subpages]]
</div>
</div>
{{div col end}}
{{div col end}}
| content2 = {{{1|}}}
| content2 = {{{1|}}}
}}<noinclude>{{documentation}}</noinclude>
}}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 04:44, 3 September 2020