Template:Viewer/Link: Difference between revisions

Template page
(Update package: OSW Core)
(Update package: OSW Core)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<onlyinclude>{{#if: {{{page|}}}<!--
<onlyinclude>{{#invoke:Viewer/Link|render}}</onlyinclude>
-->|[[{{#replace:{{{page}}}|Category:|<nowiki/> :Category:}}|{{#if:{{{label|}}}|{{{label}}}|{{#ask: [[{{#replace:{{{page}}}|Category:|<nowiki/> :Category:}}]]|?Display title of=|mainlabel=-|format=plain}}}}]]<!--
-->|[{{{url}}} {{{label|{{{url}}}}}}]<!--
-->}}<nowiki /></onlyinclude>
<noinclude>
<noinclude>
== Test ==
== Test ==
* {{{{FULLPAGENAME}}|page=Main Page}} test
* {{{{FULLPAGENAME}}|page=Main Page}} test
* {{{{FULLPAGENAME}}|page=Main Page|label=The main page}} test
* {{{{FULLPAGENAME}}|page=Main Page|label=The main page}} test
* {{{{FULLPAGENAME}}|page=Main Page|url=|label=}} test
* {{{{FULLPAGENAME}}|url=https://google.com}} test
* {{{{FULLPAGENAME}}|url=https://google.com}} test
* {{{{FULLPAGENAME}}|page=Category:Entity}} category test
* {{{{FULLPAGENAME}}|page=Category:Entity|url=|label=}} category test
* {{{{FULLPAGENAME}}|page=File:OSW5f36a59d4bb94ea0bf93f08f7470f609.png}} file test
* {{{{FULLPAGENAME}}|page=Item:OSW9ac4532e584340bcadab9022402a9697#OSW2ac7f0e6172e4fb88d61527e493c3366}} subobject test
 
<templatedata>
<templatedata>
{
{

Latest revision as of 07:05, 13 November 2024


Test

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Link targetpage

no description

Unknownoptional
labellabel

no description

Unknownoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.