Jump to content
This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.

Examples/Parameter: table (example 3): Difference between revisions

m
no edit summary
imported>FrozenPlum
(Add an all-in-one (hopefully) explanatory example that is simple but explains the most commonly misunderstood components of the table statement, as separated from tablerow, which appears next anyhow. This example can then be used again and carried farther in "tablerow" in a cohesive way.)
 
imported>FrozenPlum
mNo edit summary
Line 8:
This will select pages in [[:Category:Fruit examples]] and include the values of the "Fruit-Infobox" template's "image" and "grows" parameters, with the page title as a link in between the two template parameter values. The table statement sets the table styles to "wikitable" and "sortable" then uses <code>-</code> in the second position to omit the automatic page name/link first column (so it can be moved to a different column), and then it sets the table header text. The list output <code>{{DPL|count}}</code> is limited to 5 results.
 
'''Note:''' Other formatting (such as turning the image ''name'' into a ''rendered'' image) cannot occur inwithin an <code>{{DPL|include}}</code> statement, see the <code>{{DPL|tablerow}}</code> parameter for formatting included <code>table</code> output.
 
<pre>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.