Template:Viewer/Link: Difference between revisions

Update package: OSW Core
(Update package: OSW Core)
(Update package: OSW Core)
Line 1: Line 1:
<onlyinclude>{{#if: {{{page|}}}<!--
<onlyinclude>{{#if: {{{page|}}}<!--
-->|[[{{{page}}}|{{#if:{{{label|}}}|{{{label}}}|{{#ask: [[{{{page}}}]]|?Display title of=|mainlabel=-|format=plain}}}}]]<!--
-->|[[{{#replace:{{{page}}}|Category:|<nowiki/> :Category:}}|{{#if:{{{label|}}}|{{{label}}}|{{#ask: [[{{#replace:{{{page}}}|Category:|<nowiki/> :Category:}}]]|?Display title of=|mainlabel=-|format=plain}}}}]]<!--
-->|[{{{url}}} {{{label|{{{url}}}}}}]<!--
-->|[{{{url}}} {{{label|{{{url}}}}}}]<!--
-->}}<nowiki /></onlyinclude>
-->}}<nowiki /></onlyinclude>
Line 8: Line 8:
* {{{{FULLPAGENAME}}|page=Main Page|label=The main page}} test
* {{{{FULLPAGENAME}}|page=Main Page|label=The main page}} test
* {{{{FULLPAGENAME}}|url=https://google.com}} test
* {{{{FULLPAGENAME}}|url=https://google.com}} test
* {{{{FULLPAGENAME}}|page=Category:Entity}} category test
<templatedata>
<templatedata>
{
{