Jump to content

Template:Infobox/Doc: Difference between revisions

From NixOS Wiki
DoggoBit (talk | contribs)
No edit summary
DoggoBit (talk | contribs)
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 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>}}

Latest revision as of 15:29, 8 June 2025

☶︎
This template documentation needs to be expanded. Provide more information about creating infoboxes. Further information may be found in the related discussion page. Please consult the pedia article metapage for guidelines on contributing.

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. {{infobox application}}). You can either set the content directly or provide the content through a sub-template under /Content. I.e.:

{{infobox
  |title={{{title}}}
  |image={{{image}}}
  |content={{infobox example/content}}
}}