Examples/Parameter: titlemaxlength (example 1): Difference between revisions
< Examples
Content added Content deleted
imported>FrozenPlum (Created page with "<noinclude>{{noedit}}</noinclude><!-- This is the example preloaded for testing, press "Show Preview" to see the example working (at the bottom of the page). If you save this page, it saves as a new section at the bottom of your '''User:Username/Sandbox''' --> ==Example== This will list articles in Category:Country examples that are not in the "Category" namespace. Each result link will be shortened to a maximum of 5 characters, and those that have more than 5 cha...") |
imported>FrozenPlum m (FrozenPlum moved page Controlling output format/Parameter: titlemaxlength (example 1) to Examples/Parameter: titlemaxlength (example 1): Simplifying how things are structured) |
||
(One intermediate revision by the same user not shown) | |||
Line 26:
}}
<noinclude>
[[Category:
[[Category:Uses category parameter]]
[[Category:Uses notnamespace parameter]]
|
Latest revision as of 23:48, 31 March 2023
Example
This will list articles in Category:Country examples that are not in the "Category" namespace. Each result link will be shortened to a maximum of 5 characters, and those that have more than 5 characters will display ...
after it.
{{#dpl: |category = Country examples |notnamespace = Category |titlemaxlength = 5 |count = 3 }}
Result
{{#dpl: |category = Country examples |notnamespace = Category |titlemaxlength = 5 |count = 3 }}