Template:Infobox mod: Difference between revisions

No edit summary
Add optional translations row
 
Line 14: Line 14:
{{ #if: {{{discord|}}} | {{infobox row|label=Discord|field={{{discord}}} }} }}
{{ #if: {{{discord|}}} | {{infobox row|label=Discord|field={{{discord}}} }} }}
{{ #if: {{{sources|}}} | {{infobox row|label=Sources|field={{{sources}}} }} }}
{{ #if: {{{sources|}}} | {{infobox row|label=Sources|field={{{sources}}} }} }}
{{ #if: {{{translations|}}} | {{infobox row|label=Translations|field={{{translations}}} }} }}
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
Line 32: Line 33:
"discord": {},
"discord": {},
"sources": {},
"sources": {},
        "translations": {},
"title": {}
"title": {}
},
},
Line 46: Line 48:
"curseforge",
"curseforge",
"discord",
"discord",
"sources"
"sources",
        "translations"
]
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>