Jump to content

Template:LabelOrElse: Difference between revisions

From Philosophical Research
create template based on Ontology:Q33,52
 
implement href parameter from Template:HueEntity
 
Line 1: Line 1:
<onlyinclude>{{#if: {{{2|}}} | [[Ontology:{{{E|Q617}}}|{{{2}}}]] | [[Ontology:{{{E|Q617}}}|{{{1|(Item name missing)}}}]] }}</onlyinclude>
<onlyinclude>{{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}} | {{{E|}}} = {{#if: {{{2|}}} | [[Ontology:Q{{{Q|617}}}|{{{2}}}]] | [[Ontology:Q{{{Q|617}}}|{{{1|(Item name missing)}}}]] }} | {{{Q|}}} = {{#if: {{{2|}}} | [[Ontology:{{{E|Q617}}}|{{{2}}}]] | [[Ontology:{{{E|Q617}}}|{{{1|(Item name missing)}}}]] }} | #default = {{#if: {{{2|}}} | [[{{{href|}}}|{{{2}}}]] | [[{{{href|}}}|{{{1|(Item name missing)}}}]] }} }}</onlyinclude><!--
more readable version:
 
{{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}}
| {{{E|}}} = {{#if: {{{2|}}} | [[Ontology:Q{{{Q|617}}}|{{{2}}}]] | [[Ontology:Q{{{Q|617}}}|{{{1|(Item name missing)}}}]] }}
| {{{Q|}}} = {{#if: {{{2|}}} | [[Ontology:{{{E|Q617}}}|{{{2}}}]] | [[Ontology:{{{E|Q617}}}|{{{1|(Item name missing)}}}]] }}
| #default = {{#if: {{{2|}}} | [[{{{href|}}}|{{{2}}}]] | [[{{{href|}}}|{{{1|(Item name missing)}}}]] }}
}}
-->


[[Category:Fake Item lists]]
[[Category:Fake Item lists]]

Latest revision as of 05:43, 13 December 2025