Wiki source code of DisplayName
Last modified by Nazzareno Pompei on 06/10/2020 12:28
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | =##{{{displayName}}}## macro= | ||
2 | * content: no | ||
3 | * parameters | ||
4 | ** {{{name}}}: string /default value "apice"; name should be selected among | ||
5 | *** apice | ||
6 | *** mok | ||
7 | *** respect | ||
8 | *** soda | ||
9 | *** tucson | ||
10 | *** tucson4jade | ||
11 | **** t4j | ||
12 | *** tucson4jason | ||
13 | **** t4jn | ||
14 | *** tuprolog | ||
15 | **** 2p | ||
16 | **** 2pkt | ||
17 | capitalised in any possible (wrong) way – otherwise, "Unknown name" is printed | ||
18 | ** {{{html}}}: boolean / default true; if true displays the HTML formatted version of name, otherwise (any other value) displays the mere string properly capitalised | ||
19 | * examples | ||
20 | ** {{{ {{displayName/}} }}} prints as {{displayName/}} | ||
21 | ** {{{ {{displayName name="apiCE" html="false"/}} }}} prints as {{displayName name="apiCE" html="false"/}} | ||
22 | ** {{{ {{displayName name="TUCSON" html="true"/}} }}} prints as {{displayName name="TUCSON" html="true"/}} | ||
23 | ** {{{ {{displayName name="mok" html="true"/}} }}} prints as {{displayName name="mok" html="true"/}} | ||
24 | ** {{{ {{displayName name="MOk" html="false"/}} }}} prints as {{displayName name="MOk" html="false"/}} | ||
25 | ** {{{ {{displayName name="tuCSON4jaDE"/}} }}} prints as {{displayName name="tuCSON4jaDE"/}} | ||
26 | ** {{{ {{displayName name="2p" html="anywrongstring"/}} }}} prints as {{displayName name="2p" html="anywrongstring"/}} | ||
27 | ** {{{ {{displayName name="anywrongstring"/}} }}} prints as {{displayName name="anywrongstring"/}} |