Difference between revisions of "Template:Infobox/Doc"

Jump to navigation Jump to search
8 bytes removed ,  08:01, 29 January 2022
no edit summary
 
(3 intermediate revisions by the same user not shown)
Line 82: Line 82:
To use infobox on another page, this code must be used:
To use infobox on another page, this code must be used:
<pre>
<pre>
{{infobox
{{Infobox
|title =
|title=
|file =  
|file=
|caption =  
|caption=
|prm1 =  
|prm1=something
|prm2 =  
|prm2=
}}</pre>
}}</pre>
Per break down above, the only obligatory parameter here <code><nowiki>{{{prm1}}}</nowiki></code>.
Per break down above, the only obligatory parameter here <code><nowiki>{{{prm1}}}</nowiki></code>.
Line 94: Line 94:
If everything is left empty, the output will be:
If everything is left empty, the output will be:


{{infobox
{{Infobox
|title =
|title=
|file =  
|file=
|caption =  
|caption=
|prm1 =  
|prm1=
|prm2 = }}
|prm2=
}}




<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
[[Category:Infobox templates| ]]}}</includeonly>
[[Category:Infobox templates| ]]}}</includeonly>

Navigation menu