Шаблон:Image/storeinfo: различия между версиями

Материал из Terraria Wiki
Перейти к: навигация, поиск
(обновление данных)
Строка 2: Строка 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|}}}|<!--
Строка 37: Строка 43:
 
[[Category:Templates]]
 
[[Category:Templates]]
 
[[de:Vorlage:Image/storeinfo]]
 
[[de:Vorlage:Image/storeinfo]]
  +
[[en:Template:Image/storeinfo]]
  +
[[fr:Modèle:Image/storeinfo]]
 
</noinclude>
 
</noinclude>

Версия 04:05, 12 июля 2020

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