Template:Commons category-inline: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Mike Peel
meta>Mike Peel
trim whitespace
Line 10: Line 10:
   -->|{{if then show|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True}}<!--
   -->|{{if then show|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True}}<!--
   ... or fall back to the page name
   ... or fall back to the page name
   --> |Category:{{PAGENAME}} }} }}<!--
   --> |Category:{{PAGENAME}}}}}}<!--
   Now define the display title
   Now define the display title
   -->|{{{2|{{#if:{{{1|}}} | {{{1|}}} <!--
   -->|{{{2|{{#if:{{{1|}}}|{{{1|}}}<!--
   -->|{{if then show|{{#invoke:String|replace|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True}}|Category:|}}<!--
   -->|{{if then show|{{#invoke:String|replace|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True}}|Category:|}}<!--
   --> |{{PAGENAME}} }} }} }}}]]
   -->|{{PAGENAME}}}}}}}}}]]
}}<!--
}}<!--



Revision as of 20:22, 25 December 2018

File:Commons-logo.svg Media related to [[commons:Template:If then show|Template:If then show]] at Wikimedia Commons