General usage and invocation syntax: Difference between revisions

m
m (Azxiana moved page General Usage and Invocation Syntax to DPL:General Usage and Invocation Syntax without leaving a redirect)
Line 180:
When mode=userformat is selected, DPL will not output anything by default. Instead it will look for symbols in your input (''listseparators, secseparators, multisecseparators, tablerow'') which it will replace by their corresponding values. For example, <tt>%TITLE%</tt> will be replaced by the title of an article, <tt>%PAGE%</tt> will be replaced by the pagename. So, if you write something like <br><code><nowiki>[[%PAGE%|%TITLE%]]</nowiki></code>, DPL will create a hyperlink to an article.
 
'''See [[DPL_parametersDPL:Parameters: Controlling outputOutput formatFormat#format]] for a complete list of symbols.'''
 
The specification of <tt>listseparators</tt>, <tt>secseparators</tt>, and <tt>multisecseparators</tt> does only make sense in combination with <tt>mode=userformat</tt>. Therefore <tt>mode=userformat</tt> is automatically implied when <tt>listseparators</tt> is specified. To make the syntax even more comfortable the simple word <tt>format</tt> can be used as an alias for <tt>listseparators</tt>. So:
Anonymous user