Template:Infobox/Doc: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{expand|scope=template documentation}} | {{expand|scope=template documentation|reason=Provide more information about creating infoboxes.}} | ||
This template is the basis to all [[:Category:Infobox|infoboxes]]. You shouldn't use it by itself, instead import it in a more specific infobox (e.g. {{tl|application | This template is the basis to all [[:Category:Infobox|infoboxes]]. You shouldn't use it by itself, instead import it in a more specific infobox (e.g. {{tl|infobox application}}). You can either set the content directly or provide the content through a ''sub-template'' under <code>/Content</code>. I.e.: | ||
{{code|lang=mediawiki|line=no|<nowiki> | {{code|lang=mediawiki|line=no|<nowiki> | ||
Line 7: | Line 7: | ||
|title={{{title}}} | |title={{{title}}} | ||
|image={{{image}}} | |image={{{image}}} | ||
|content={{example | |content={{infobox example/content}} | ||
}} | }} | ||
</nowiki>}} | </nowiki>}} |