This site is not maintained anymore. Please move to MHWiki.org
Difference between revisions of "Template:Distinction"
From Die2Nite Wiki
(new template specific to distinctions, this will format a distinction metainline with the correct background and in future a number, normal metainlines will still work and are better for use in text) |
(fix 2nd param) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}}<!-- | <includeonly>{{#if:{{{1|}}}<!-- | ||
| − | then-->|{{DistinctionIcon|{{{1}}}|{{{2}}}}}<!-- | + | then-->|{{DistinctionIcon|{{{1}}}|{{#if:{{{2|}}}|{{{2}}}}}}}<!-- |
------> [[{{{1}}}|{{{displayname|{{Data|{{{1}}}|name|{{{1}}}(?)}}}}}]]<!-- | ------> [[{{{1}}}|{{{displayname|{{Data|{{{1}}}|name|{{{1}}}(?)}}}}}]]<!-- | ||
else-->|{{DistinctionIcon}} something...<!-- | else-->|{{DistinctionIcon}} something...<!-- | ||
-->}}</includeonly> | -->}}</includeonly> | ||