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
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)

Revision as of 20:26, 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)
🍪 We use cookies to keep session information to provide you a better experience.