Line 1: |
Line 1: |
| {{distinguish|Template:Userbox}} | | {{distinguish|Template:Userbox}} |
| {{Documentation subpage}} | | {{Documentation subpage}} |
− | <includeonly>{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|old | |{{High-use|3,160,000+|info=[https://en.wikipedia.org/w/index.php?search=hastemplate%3Ainfobox&title=Special:Search&profile=default&fulltext=1&searchToken=69ttd5z1iekjo54r1z2qvq3uo 3,035,000] of the {{NUMBEROFARTICLES}} pages in mainspace that qualify as articles transclude infoboxes ({{#expr:(3035000*100/{{NUMBEROFARTICLES:R}}) round 0}}%).|all-pages = yes}}{{Lua|Module:Infobox}}}}</includeonly>
| |
| {{Parameter names example | | {{Parameter names example |
| |name={{PAGENAME}} <!--|child |subbox |decat--> |title |above |subheader |subheader1 |subheader2={{{subheader2}}}<br/>...... | | |name={{PAGENAME}} <!--|child |subbox |decat--> |title |above |subheader |subheader1 |subheader2={{{subheader2}}}<br/>...... |
Line 102: |
Line 101: |
| </pre>{{clear}} | | </pre>{{clear}} |
| | | |
− | It is also possible to automatically renumber parameter names by using [[User:Frietjes/infoboxgap.js]] or [[Module:IncrementParams]]. | + | It is also possible to automatically renumber parameter names by using [[Wikipedia:User:Frietjes/infoboxgap.js]] or [[Module:IncrementParams]]. |
| | | |
| ==== Making data fields optional ==== | | ==== Making data fields optional ==== |
Line 687: |
Line 686: |
| ==See also== | | ==See also== |
| * [[Module:Infobox]], the [[WP:LUA|Lua]] module on which this template is based | | * [[Module:Infobox]], the [[WP:LUA|Lua]] module on which this template is based |
− | * [[Special:Permalink/558855956|Template:Infobox/old]], the previous ParserFunctions implementation | + | * [[Wikipedia:Special:Permalink/558855956|Template:Infobox/old]], the previous ParserFunctions implementation |
| * {{tl|Infobox3cols}} | | * {{tl|Infobox3cols}} |
| * {{tl|Navbox}} and {{tl|Sidebar}} | | * {{tl|Navbox}} and {{tl|Sidebar}} |
Line 697: |
Line 696: |
| <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
| [[Category:Infobox templates| ]] | | [[Category:Infobox templates| ]] |
− | [[Category:Wikipedia metatemplates|Infobox]] | + | [[Category:Metatemplates|Infobox]] |
| [[Category:Templates generating microformats]] | | [[Category:Templates generating microformats]] |
| [[Category:Lua-based infobox templates]] | | [[Category:Lua-based infobox templates]] |