Template talk:ItemIcon: Difference between revisions

Discussion page of Template:ItemIcon
imported>76561197960509122
(Created page with "using this template (which is nice btw) does not allow to put multiple items in one row. it will add a new line. Is there a way to change that?<br> example:<br> File:Icon_Pl...")
 
imported>76561198018895007
No edit summary
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:


{{ItemIcon|ItemName=Fractionator|link=Fractionator}} {{ItemIcon|ItemName=Planetary_Logistics_Station|link=Planetary_Logistics_Station}}
{{ItemIcon|ItemName=Fractionator|link=Fractionator}} {{ItemIcon|ItemName=Planetary_Logistics_Station|link=Planetary_Logistics_Station}}
:: works now. The author had put the <code><nowiki><noinclude></nowiki></code> portion on a separate line. MediaWiki honors whitespace, so the "Return" at the end of the Template line, before the no-include, was being included, causing it to add a paragraph wrapper, hence every image being on a new line. [[User:76561198018895007|76561198018895007]] ([[User talk:76561198018895007|talk]]) 20:26, 5 February 2021 (UTC)
The template shows a switch for Size, but it's not used in the actual template. Is the author of this template planning to update it? Also, one thing we have been doing a lot is using the image as a link to the item's detail page. If this template could do that automatically (by adding |link=ItemName ) that'd make it SUPER useful! I will make that change if nobody else does, in a couple days.  [[User:76561198018895007|76561198018895007]] ([[User talk:76561198018895007|talk]]) 20:29, 5 February 2021 (UTC)

Latest revision as of 20:29, 5 February 2021

using this template (which is nice btw) does not allow to put multiple items in one row. it will add a new line. Is there a way to change that?
example:
Icon Planetary Logistics Station.png Icon Logistics Drone.png

vs

Icon Fractionator.png
Icon Planetary Logistics Station.png


works now. The author had put the <noinclude> portion on a separate line. MediaWiki honors whitespace, so the "Return" at the end of the Template line, before the no-include, was being included, causing it to add a paragraph wrapper, hence every image being on a new line. 76561198018895007 (talk) 20:26, 5 February 2021 (UTC)

The template shows a switch for Size, but it's not used in the actual template. Is the author of this template planning to update it? Also, one thing we have been doing a lot is using the image as a link to the item's detail page. If this template could do that automatically (by adding |link=ItemName ) that'd make it SUPER useful! I will make that change if nobody else does, in a couple days. 76561198018895007 (talk) 20:29, 5 February 2021 (UTC)

🍪 We use cookies to keep session information to provide you a better experience.