Template:Viewer/Link: Difference between revisions

From Battery Knowledge Base
Update package: OSW Core
(Update package: OSW Core)
(Update package: OSW Core)
 
Line 1: Line 1:
<onlyinclude>{{#if: {{{page|}}}<!--
<onlyinclude>{{#if: {{{page|}}}<!--
-->|[[{{#replace:{{{page}}}|Category:|<nowiki/> :Category:}}|{{#if:{{{label|}}}|{{{label}}}|{{#ask: [[{{#replace:{{{page}}}|Category:|<nowiki/> :Category:}}]]|?Display title of=|mainlabel=-|format=plain}}}}]]<!--
-->|[[{{#replace:{{#replace:{{{page}}}|File:|<nowiki/> Media:}}|Category:|<nowiki/> :Category:}}|{{#if:{{{label|}}}|{{{label}}}|<!--
-->{{#if:{{#ask: [[{{#replace:{{{page}}}|Category:|<nowiki/> :Category:}}]]|?HasLabel=|+lang={{USERLANGUAGECODE}}|mainlabel=-|format=plain}}<!--
  -->|{{#ask: [[{{#replace:{{{page}}}|Category:|<nowiki/> :Category:}}]]|?HasLabel=|+lang={{USERLANGUAGECODE}}|mainlabel=-|format=plain}}<!--
  -->|{{#ask: [[{{#replace:{{{page}}}|Category:|<nowiki/> :Category:}}]]|?HasLabel=|+lang=en|mainlabel=-|format=plain}}<!--
-->}}<!--
-->}}]]<!--
-->|[{{{url}}} {{{label|{{{url}}}}}}]<!--
-->|[{{{url}}} {{{label|{{{url}}}}}}]<!--
-->}}<nowiki /></onlyinclude>
-->}}<nowiki /></onlyinclude>
Line 9: Line 14:
* {{{{FULLPAGENAME}}|url=https://google.com}} test
* {{{{FULLPAGENAME}}|url=https://google.com}} test
* {{{{FULLPAGENAME}}|page=Category:Entity}} category test
* {{{{FULLPAGENAME}}|page=Category:Entity}} category test
* {{{{FULLPAGENAME}}|page=File:OSW5f36a59d4bb94ea0bf93f08f7470f609.png}} file test
<templatedata>
<templatedata>
{
{
Cookies help us deliver our services. By using our services, you agree to our use of cookies.