Template:Exists: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{anchorencode:{{lc:[[:{{{page|{{{1|defaultFalse}}}}}}]]}}}}|{{anchorencode:{{lc:{{:{{{page|{{{1|defaultFalse}}}}}}}}}}}}|{{{else|0}}}|{{{then|1}}}}}</includeonly><noinclude> | <includeonly>{{#ifeq:{{anchorencode:{{lc:[[:{{{page|{{{1|defaultFalse}}}}}}]]}}}}|{{anchorencode:{{lc:{{:{{{page|{{{1|defaultFalse}}}}}}}}}}}}|{{{else|0}}}|{{{then|1}}}}}</includeonly><noinclude> | ||
[https://meta.wikimedia.org/wiki/Template:Exists meta.wikimedia.org/wiki/Template:Exists] | [https://meta.wikimedia.org/wiki/Template:Exists meta.wikimedia.org/wiki/Template:Exists] | ||
This seems to just be a more verbose version of [[Template:Exist]]. | |||
==Example== | |||
<nowiki>{{exists|page=file:Hero Solmyr small.png|then=[[file:Hero Solmyr small.png]]|else=}}</nowiki> | |||
* {{exists|page=file:Hero Solmyr small.png|then=[[file:Hero Solmyr small.png]]|else=}} | |||
<nowiki>{{exists|page=file:Hero Missingno small.gif|then=[[file:Hero Missingno small.gif]]|else=}}</nowiki> | |||
* {{exists|page=file:Hero Missingno small.gif|then=[[file:Hero Missingno small.gif]]|else=}} | |||
[[Category: Text templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 21:16, 2 October 2024
meta.wikimedia.org/wiki/Template:Exists
This seems to just be a more verbose version of Template:Exist.
Example[edit | hide | hide all]
{{exists|page=file:Hero Solmyr small.png|then=[[file:Hero Solmyr small.png]]|else=}}
{{exists|page=file:Hero Missingno small.gif|then=[[file:Hero Missingno small.gif]]|else=}}