Template:Viewer/Link: Difference between revisions

Template page
(Install package: OSW Core)
 
(Update package: OSW Core)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<onlyinclude>{{#if: {{{page|}}}<!--
<onlyinclude>{{#if: {{{page|}}}<!--
-->|[[{{{page}}}|{{#if:{{{label|}}}|{{{label}}}|{{#ask: [[{{{page}}}]]|?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 8: Line 13:
* {{{{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
* {{{{FULLPAGENAME}}|page=File:OSW5f36a59d4bb94ea0bf93f08f7470f609.png}} file test
<templatedata>
<templatedata>
{
{

Latest revision as of 02:16, 6 July 2024

[{{{url}}} {{{url}}}]

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.