Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox row: Difference between revisions

Template page
Created page with "<!-- Template:Infobox row -------------------- Helper template to build the HTML of the <tr> element of infoboxes FIXME: It is more performant and easier to organize to switch to a more permanant solution like Extension:PortableInfobox or use a Lua module. @param {int} colspan Number of columns that the infobox row spans @param {string} condition Wikitext of the additional conditions to check by the #if function @param {string} data Data of the infobox row @param {str..."
 
No edit summary
Tag: Reverted
Line 18: Line 18:
@return {string} wikitext of the <tr> element
@return {string} wikitext of the <tr> element


--><includeonly><!--
--><!-- <includeonly> --><!--
-->{{#if:{{{condition|{{{header|}}}{{{data|}}}}}}|<!--
-->{{#if:{{{condition|{{{header|}}}{{{data|}}}}}}|<!--
--><tr><!--
--><tr><!--
Line 27: Line 27:
--></tr><!--
--></tr><!--
-->}}<!--
-->}}<!--
--></includeonly><!--
--><!-- </includeonly> --><!--
--><noinclude><!--
--><noinclude><!--



Revision as of 11:23, 27 June 2026

This template is used to build infobox row and not meant to be transcluded outside of infobox templates.

Parameters

Only data or header are required.

Name Type Description
colspan int Number of columns that the infobox row spans
condition string Wikitext of the additional conditions to check by the #if function
data string Data of the infobox row
dataClass string HTML classes for the data
header string Header of the infobox row
headerClass string HTML classes for the header
label string Label of the infobox row