Difference between revisions of "Template talk:AP"
From Mushpedia
(Suggest adding quantity slot) |
(→Include quantity in templates?) |
||
| Line 4: | Line 4: | ||
<nowiki>{{AP|type|n}}</nowiki> => ''N''&nbsp;''ICON'' | <nowiki>{{AP|type|n}}</nowiki> => ''N''&nbsp;''ICON'' | ||
What do you think? [[User:Dth|Dth]] ([[User talk:Dth|talk]]) | What do you think? [[User:Dth|Dth]] ([[User talk:Dth|talk]]) | ||
| + | : sounds good to me, but then there's the question of parameter order: in ((AP|2)), 2 would represent the type, not the number, so we'd need to write ((AP|n=2)) for "2 regular AP" if we don't want to write the type explicitely [[User:Edfel|Edfel]] ([[User talk:Edfel|talk]]) | ||
Latest revision as of 10:36, 6 March 2016
Include quantity in templates?
A minor typographical tweak. Add a quantity slot to Template:AP and similar, then render the quantity-unit pair using a non-breaking space or (CSS) white-space: nowrap:
{{AP|type|n}} => N ICON