Difference between revisions of "Template:CTD show name"

From Teopedia library
Jump to navigation Jump to search
(Created page with "<noinclude>This templates retrieves from ''Comprehensive Theosophical Dictionary'' a persons name in short format: initials and last name. '''To copy''': <pre> {{CTD sho...")
 
m
 
Line 22: Line 22:
 
[[Category: Templates for CTD]]
 
[[Category: Templates for CTD]]
 
</noinclude><includeonly>{{#switch: {{{mode|}}}  
 
</noinclude><includeonly>{{#switch: {{{mode|}}}  
  | full LF  = {{#ask: [[{{{1|}}}]] |?CTD term sortable = | link=none | mainlabel=-}}
+
  | full LF  = {{#ask: [[{{{1|}}}]] |?CTD term sortable = | link=none | mainlabel=- | default={{{1|}}} }}
  | full FL  = {{#ask: [[{{{1|}}}]] |?CTD term to show = | link=none | mainlabel=-}}
+
  | full FL  = {{#ask: [[{{{1|}}}]] |?CTD term to show = | link=none | mainlabel=- | default={{{1|}}} }}
  | short LF = {{#ask: [[{{{1|}}}]] |?Short name = | link=none | mainlabel=-}}
+
  | short LF = {{#ask: [[{{{1|}}}]] |?Short name = | link=none | mainlabel=- | default={{{1|}}} }}
 
  | short FL  
 
  | short FL  
  | #default = {{#ask: [[{{{1|}}}]] |?Short name regular = | link=none | mainlabel=-}}
+
  | #default = {{#ask: [[{{{1|}}}]] |?Short name regular = | link=none | mainlabel=- | default={{{1|}}} }}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 04:47, 30 September 2023

This templates retrieves from Comprehensive Theosophical Dictionary a persons name in short format: initials and last name.


To copy:

{{CTD show name||mode=}}


Mode examples:

full LF → Blavatsky, Helena Petrovna
full FL → Helena Petrovna Blavatsky
short LF → Blavatsky, H. P.
short FL
(default)
→ H. P. Blavatsky