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

Content added Content deleted
imported>FrozenPlum
(Created page with "<noinclude>{{note|Please '''do not edit''' this page unless you're wanting to edit the manual itself, it is an example included in the manual.|error}}</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:Fruit examples‏‎ as in-lin...")
 
imported>FrozenPlum
m (Swap to parser function syntax, and better explain the symbol use)
Line 6: Line 6:
==Example==
==Example==


This will list articles in [[:Category:Fruit examples‏‎]] as in-line (in paragraph) text, with inline text formatting like "Item1 &bull; Item2 &bull; Item3 &bull; ..." and limited to a count of five articles.
This will list articles in [[:Category:Fruit examples‏‎]] as in-line (in paragraph) text, with inline text formatting using <code>&amp;nbsp;</code>, <code>&amp;bull;</code>, and <code>&amp;nbsp;</code> to create formatting like "Item1 &bull; Item2 &bull; Item3 &bull;".


<pre>
<pre>
<dpl>
{{#dpl:
category = Fruit examples‏‎
|category = Fruit examples‏‎
mode = inline
|mode = inline
inlinetext = &amp;nbsp; &amp;bull; &amp;nbsp;
|inlinetext = &amp;nbsp; &amp;bull; &amp;nbsp;
count = 5
|count = 5
}}
</dpl>
</pre>
</pre>


==Result==
==Result==


<dpl>
{{#dpl:
category = Fruit examples‏‎
|category = Fruit examples‏‎
mode = inline
|mode = inline
inlinetext = &nbsp; &bull; &nbsp;
|inlinetext = &nbsp; &bull; &nbsp;
count = 5
|count = 5
}}
</dpl>

<noinclude>
<noinclude>
[[Category:Setting the basic output mode]]
[[Category:Setting the basic output mode]]