Template talk:SDG

Latest comment: 4 years ago by Ainali in topic New parameter

New parameter edit

I would like to add a parameter inline that makes it possible to use the template something like this: you write {{SDG|sdg_2=1|sdg_4=1|inline=1}} and what you get is the symbols in the end of the line with no line break, like this:     , rather than something that you could do now which s something like {{SDG|sdg_2=1|sdg_4=1|no_header=1|width=18px|height=18px}} which makes a new line like this:

puts the images in a weird place and also line breaks the following text rather than let it continue on the same line. Could someone help me implement this? Ainali (talk) 20:42, 4 February 2020 (UTC)Reply

So this is what I wanted to achieve     , but I couldn't with a parameter, so I made a new template which you call like this{{SDG inline|sdg_2=1|sdg_4=1}}. Ainali (talk) 23:23, 11 February 2020 (UTC)Reply
Return to "SDG" page.