Template:Xpdn/doc: Difference between revisions

From FamilySearch Wiki
(Created page with "{{documentation subpage}} ;Usage: :{{Tlx|{{PAGENAME}}|outer-left|inner|outer-right<tt>|gives=</tt>separator}} :The default separator is "'''gives'''", use e.g. <tt>...")
 
m (Text replacement - "|" to "|")
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:


;Usage&#58;
;Usage&#58;
:{{Tlx|{{PAGENAME}}|outer-left|inner|outer-right<tt>&#124;gives&#61;</tt>separator}}
:{{Tlx|{{PAGENAME}}|outer-left|inner|outer-right<tt>|gives&#61;</tt>separator}}
:The default separator is "'''gives'''", use e.g. <tt>gives==</tt> for "'''='''". The second parameter has to specified and can't be empty, compare {{tim|xpd}}. With optional [[Help:substitution|substitution]] <tt>subst=subst:</tt> the first parameter also can't be empty.
:The default separator is "'''gives'''", use e.g. <tt>gives==</tt> for "'''='''". The second parameter has to specified and can't be empty, compare {{tim|xpd}}. With optional [[Help:substitution|substitution]] <tt>subst=subst:</tt> the first parameter also can't be empty.
;Example&#58;
;Example&#58;
:{{Tlx|{{PAGENAME}}|#expr:|CURRENTTIMESTAMP| mod 100}} gives
:{{Tlx|{{PAGENAME}}|#expr:|CURRENTTIMESTAMP| mod 100}} gives
:"{{{{PAGENAME}}|#expr:|CURRENTTIMESTAMP| mod 100}}"
 


==See also==
==See also==

Latest revision as of 21:40, 11 April 2023

Usage:
{{Xpdn/doc{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}}
The default separator is "gives", use e.g. gives== for "=". The second parameter has to specified and can't be empty, compare >Template:xpd (backlinks, edit). With optional substitution subst=subst: the first parameter also can't be empty.
Example:
{{Xpdn/doc{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} gives


See also[edit source]