Template:Infobox/Doc: Difference between revisions

DoggoBit (talk | contribs)
Created page with "{{expand}} This template is the basis to all infoboxes. You shouldn't use it by itself, instead import it in a more specific infobox (e.g. {{tl|application infobox}}). 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> {{infobox |title={{{title}}} |image={{{image}}} |content={{example infobox/content}} }} </nowiki>}}"
 
DoggoBit (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{expand}}
{{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 infobox}}). You can either set the content directly or provide the content through a ''sub-template'' under <code>/Content</code>. I.e.:
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 infobox/content}}
   |content={{infobox example/content}}
}}
}}
</nowiki>}}
</nowiki>}}