Terraria Wiki
Terraria Wiki
mAucun résumé des modifications
Aucun résumé des modifications
 
(Une version intermédiaire par le même utilisateur non affichée)
Ligne 11 : Ligne 11 :
 
This is why we don't use inexpensive {{ifexist}} instead.
 
This is why we don't use inexpensive {{ifexist}} instead.
   
-->{{#ifexist:Media:{{{1|}}}|<!--
+
-->{{#dplvar:set<!--
-->{{#dplvar:set<!--
+
-->|_image_name|{{{1|}}}<!--
-->|_image_name|{{{1|}}}<!--
+
-->|_image_exist|<!--
-->|_image_exist|1<!--
+
-->|_image_width|0<!--
-->|_image_width|{{#imgw:{{{1|}}}}}<!--
+
-->|_image_height|0<!--
-->|_image_height|{{#imgh:{{{1|}}}}}<!--
 
-->|_image_cached|{{#time:U}}<!--
 
-->}}<!--
 
-->{{#ifexpr:{{#dplvar:_image_width}}|{{#ifexpr:{{#dplvar:_image_height}}|<!-- width !=0 and height != 0
 
-->{{#cargo_store:_table = Imageinfo<!--
 
-->|image={{#dplvar:_image_name}}<!--
 
-->|width={{#dplvar:_image_width}}<!--
 
-->|height={{#dplvar:_image_height}}<!--
 
-->|cached={{#dplvar:_image_cached}}<!--
 
-->}}<!--
 
-->}}}}<!--
 
-->|<!-- not exist or over limit
 
-->{{#dplvar:set<!--
 
-->|_image_name|{{{1|}}}<!--
 
-->|_image_exist|<!--
 
-->|_image_width|0<!--
 
-->|_image_height|0<!--
 
-->|_image_cached|{{#time:U}}<!--
 
-->}}<!--
 
 
-->}}<!--
 
-->}}<!--
  +
  +
-->{{#invoke:item|storeImageInfo|{{{1|}}}}}<!--
  +
 
--></includeonly><!--
 
--></includeonly><!--
   
Ligne 41 : Ligne 25 :
 
Internal sub-template. See {{tl|image}} for documentation.
 
Internal sub-template. See {{tl|image}} for documentation.
   
[[Category:Modèles]]
+
{{Category|Templates}}
 
[[de:Vorlage:Image/storeinfo]]
 
[[de:Vorlage:Image/storeinfo]]
 
[[en:Template:Image/storeinfo]]
 
[[en:Template:Image/storeinfo]]

Dernière version du 30 août 2021 à 23:21

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