Terraria Wiki
Terraria Wiki
mAucun résumé des modifications
mAucun résumé des modifications
(Une version intermédiaire par le même utilisateur non affichée)
Ligne 2 : Ligne 2 :
   
 
Note:
 
Note:
since #ifexist is an expensive function, it will return false directly when expansive call limit exceeded.
+
Since #ifexist is an expensive function, it will return false directly when expansive call limit exceeded.
so when we get false result from #ifexist, we don't know if it really doesn't exist. Therefore, we can't cache its result into cargo table.
+
So when we get false result from #ifexist, we don't know if it really doesn't exist. Therefore, we can't cache its result into cargo table.
  +
  +
Note2:
  +
On wikis using a shared media repository, i.e. zh/de/fr/ru/...,
  +
#ifexist:Media:<filename> can be used to check if a file has been uploaded to the repository but not to the wiki itself,
  +
but #ifexist:File:<filename> or {{ifexist|File:<filename>}} can't.
  +
This is why we don't use inexpensive {{ifexist}} instead.
   
 
-->{{#ifexist:Media:{{{1|}}}|<!--
 
-->{{#ifexist:Media:{{{1|}}}|<!--
Ligne 35 : Ligne 41 :
 
Internal sub-template. See {{tl|image}} for documentation.
 
Internal sub-template. See {{tl|image}} for documentation.
   
[[Catégorie:Modèles]]
+
[[Category:Modèles]]
 
[[de:Vorlage:Image/storeinfo]]
 
[[de:Vorlage:Image/storeinfo]]
 
[[en:Template:Image/storeinfo]]
 
[[en:Template:Image/storeinfo]]

Version du 11 juillet 2020 à 03:27

Internal sub-template. See {{image}} for documentation.