Module:Navbox: Difference between revisions

Ganaram inukshuk (talk | contribs)
Undo revision 168952 by ArrowHead294 (talk) merging the two title functions back into one broke all my test cases
Tag: Undo
Ganaram inukshuk (talk | contribs)
No edit summary
Line 58: Line 58:
.. '! style="text-align: center; background-color: #eaecf0; white-space: nowrap; margin: 0em 4em 0em 4em;'
.. '! style="text-align: center; background-color: #eaecf0; white-space: nowrap; margin: 0em 4em 0em 4em;'
.. 'padding: 0.25em 0.5em; border: 1px solid white;" colspan="2" | '  
.. 'padding: 0.25em 0.5em; border: 1px solid white;" colspan="2" | '  
.. '<span style="display: inline-block; float: left; text-align: left; font-weight: normal; font-style: normal; min-width: 4em; padding: 0px; margin: 0px;">' .. (has_navbar and navbar(name, "mini", "") or "") .. '</span>'
.. '<span style="display: inline-block; float: left; text-align: left; font-weight: normal; font-style: normal; min-width: 4em; padding: 0px; margin: 0px;">' .. (has_navbar and navbar(name, "Template:", "mini", "") or "") .. '</span>'
.. '<span style="font-size: 1.05em;">' .. title .. "</span>"
.. '<span style="font-size: 1.05em;">' .. title .. "</span>"
.. ((not is_collapsible) and '<span style="display: inline-block; float: right; text-align: right; font-size: 0.8em; width: 5em;">&nbsp;</span>' or "")
.. ((not is_collapsible) and '<span style="display: inline-block; float: right; text-align: right; font-size: 0.8em; width: 5em;">&nbsp;</span>' or "")