Template:L: Difference between revisions
From XionKB
Jump to navigationJump to search
(simplify) |
m (fix namespacing of link) |
||
Line 1: | Line 1: | ||
<onlyinclude><span style="background-color:rgb(248,248,248);background-color:rgba(248,248,248,0.5);border:1px solid;border-color:rgb(170,170,170);border-color:rgba(170,170,170,0.5);border-radius:0.35rem;padding:0.125rem">[[{{{1}}}|<span style="font-family:'Source Code Pro',monospace;text-transform:uppercase">{{{2}}}.{{ns2ext|{{{1}}}}}</span>]] <em>{{{3}}}</em></span></onlyinclude> | <onlyinclude><span style="background-color:rgb(248,248,248);background-color:rgba(248,248,248,0.5);border:1px solid;border-color:rgb(170,170,170);border-color:rgba(170,170,170,0.5);border-radius:0.35rem;padding:0.125rem">[[{{#if:{{{1}}}|{{{1}}}:|}}{{{2}}}|<span style="font-family:'Source Code Pro',monospace;text-transform:uppercase">{{{2}}}.{{ns2ext|{{{1}}}}}</span>]] <em>{{{3}}}</em></span></onlyinclude> | ||
This template pairs together physical page names with their long form renditions as seen through <code>DISPLAYTITLE</code>. The first parameter is the page's namespace (which can be left blank in the case of mainspace pages), the second is the physical name, and the third is the logical (long form) name. | This template pairs together physical page names with their long form renditions as seen through <code>DISPLAYTITLE</code>. The first parameter is the page's namespace (which can be left blank in the case of mainspace pages), the second is the physical name, and the third is the logical (long form) name. | ||
[[Category:Inline templates]][[Category:Link templates]] | [[Category:Inline templates]][[Category:Link templates]] |
Revision as of 02:56, 8 March 2023
[[{{{1}}}:{{{2}}}|{{{2}}}.222]] {{{3}}}
This template pairs together physical page names with their long form renditions as seen through DISPLAYTITLE
. The first parameter is the page's namespace (which can be left blank in the case of mainspace pages), the second is the physical name, and the third is the logical (long form) name.