Template:Autowiki/StockPart: Difference between revisions

From tgwiki2
Jump to navigation Jump to search
imported>Senefi
changed hardcoded name and icon image to parameter references
imported>Senefi
removed outer div float property, added sample template and code
Line 7: Line 7:
TEMPLATE BEGIN
TEMPLATE BEGIN


--><div style="float:left; width:500px; padding:0px; margin-bottom:10px; background:#DDDDDD;"><!--
--><div style="width:500px; padding:0px; margin-bottom:10px; background:#DDDDDD;"><!--
   --><div style="float:left; width:96px; height:96px; background:#EEEEEE; text-align:center"><!--
   --><div style="float:left; width:96px; height:96px; background:#EEEEEE; text-align:center"><!--
     -->[[File:{{{icon}}}|64px|link=]]<br>{{{name}}}<!--
     -->[[File:{{{icon}}}|64px|link=]]<br>{{{name}}}<!--
Line 22: Line 22:
   |name=capacitor
   |name=capacitor
   |icon=capacitor.png
   |icon=capacitor.png
}}<!--
}}
 
This template is generated by the following code:<!--
--><pre>{{Autowiki/StockPart
  |name=capacitor
  |icon=capacitor.png
}}</pre><!--


DOCUMENTATION END
DOCUMENTATION END
--></noinclude><!--
--></noinclude><!--

Revision as of 11:02, 11 July 2023


capacitor

This template is generated by the following code:

{{Autowiki/StockPart
  |name=capacitor
  |icon=capacitor.png
}}