Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Search
Editing
DPL3/Parameters: Controlling output format
(section)
From KB42
Namespaces
Page
Discussion
More
More
Page actions
Read
Edit
Edit source
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===rowcolformat=== {{DPL parameter |name = rowcolformat |purpose= Defines layout properties (using [[wikipedia:wikibooks:HTML_Programming/Tables|HTML table tag parameters]]) for the row/column grid. }} Syntax: {{DPL syntax|rowcolformat=''html tags''}} Example: <pre><nowiki> <dpl> category = Help nottitlematch = %DPL% includesubpages = false columns = 3 rowcolformat = cellspacing=20 count = 6 </dpl> </nowiki></pre> There will be more space around the columns than normal. See {{dpl3|columns}} above for another example. <dpl> category = Help nottitlematch = %DPL% includesubpages = false columns = 3 rowcolformat = cellspacing=20 count = 6 </dpl> The ideal way to use {{dpl3|rowcolformat}} is to assign a CSS class to your DPL table which has been defined in your ''mediawiki:Common.css'' article. Example: <pre><nowiki> <dpl> category = Help nottitlematch = %DPL% includesubpages = false columns = 3 rowcolformat = class=dpl3columns count = 6 </dpl> </nowiki></pre> In your ''Common.css'' article you might have written something like table.dpl3columns td { background: #f2f2f2; padding: 0.5em; border: 3px; width: 33%; }
Summary:
Please note that all contributions to KB42 may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
KB42:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
DONATE
Wiki tools
Wiki tools
Special Pages
Categories
Import Pages
Cargo data
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs