Bureaucrats, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Suppressors, Administrators, trusted
15,693
edits
mNo edit summary |
m (+library links) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 32: | Line 32: | ||
| end = | | end = | ||
| approximate duration = | | approximate duration = | ||
| library links = | |||
| library pages = | | library pages = | ||
| quotes hpb = | | quotes hpb = | ||
| Line 43: | Line 44: | ||
* '''term''' -- term or name in full length in sortable form, i.e. without diacritical marks and if it is a name, it should be in following order: Last Name, Other Names, for example: ''Blavatsky, Helena Petrovna'' or ''Monier-Williams, Sir Monier'' (consider comma after last name); {{p|CTD term sortable}}, {{p|CTD term}} | * '''term''' -- term or name in full length in sortable form, i.e. without diacritical marks and if it is a name, it should be in following order: Last Name, Other Names, for example: ''Blavatsky, Helena Petrovna'' or ''Monier-Williams, Sir Monier'' (consider comma after last name); {{p|CTD term sortable}}, {{p|CTD term}} | ||
* '''term to show''' -- the same term with diacritical marks (if exist) and stress mark (if needed); if term is a name then put it in a full form in regular order, for example: ''Helena Petrovna Blavatsky''; {{p|CTD term to show}}, {{p|CTD term}} | * '''term to show''' -- the same term with diacritical marks (if exist) and stress mark (if needed); if term is a name then put it in a full form in regular order, for example: ''Helena Petrovna Blavatsky''; {{p|CTD term to show}}, {{p|CTD term}} | ||
* '''person''' -- "yes" if it is a person, in this case term will be added to category {{c|Persons}} and semantic properties {{p|Name}}, {{p|Full name}} and {{p|Short name}} are set; ''full name'' is a name set in ''term to show'' parameter or equals ''term'' otherwise | * '''person''' -- "yes" if it is a person, in this case term will be added to category {{c|Persons}} and semantic properties {{p|Name}}, {{p|Full name}}, {{p|Short name}} and {{p|Short name regular}} are set; ''full name'' is a name set in ''term to show'' parameter or equals ''term'' otherwise | ||
* '''short name''' -- short version of name or family name (surname) for bibliography, i.e. ''Blavatsky'' or ''Avicenna''; {{p|Short name}} | * '''short name''' -- short version of name or family name (surname) for bibliography, i.e. ''Blavatsky'' or ''Avicenna''; {{p|Short name}} | ||
* '''initials''' -- initials to add to surname for bibliography and short references; if set, then '''short name''' is interpreted as surname and two properties are set: | * '''initials''' -- initials to add to surname for bibliography and short references; if set, then '''short name''' is interpreted as surname and two properties are set: | ||
| Line 74: | Line 75: | ||
''Teopedia links:'' | ''Teopedia links:'' | ||
* '''library | * '''library links''' -- wiki pages in Library in user defined style; showed as set, with or without link | ||
* '''library pages''' -- wiki page name; it will be wraped in brackets, making a link: <nowiki>[[text]]</nowiki> | |||
* '''quotes hpb''' -- page with quotes by H.P. Blavatsky | * '''quotes hpb''' -- page with quotes by H.P. Blavatsky | ||
* '''ctd rus''' -- article in Russian | * '''ctd rus''' -- article in Russian | ||
| Line 138: | Line 140: | ||
-->{{#vardefine:person|{{lc: {{{person|}}} }}}}<!-- turn letters to lower case | -->{{#vardefine:person|{{lc: {{{person|}}} }}}}<!-- turn letters to lower case | ||
-->{{#switch: {{#var:person}} | -->{{#switch: {{#var:person}} | ||
| yes = {{#set: Name={{{term|}}} | Short name={{#var:short name}} | Short name regular={{#var:short name regular}}}} {{#if: {{{term to show|}}}| {{#set: Full name={{{term to show|}}}}} | {{#set: Full name={{{term|}}}}} }}[[Category: Persons]] | | yes = {{#set: Name={{{term|}}} | Short name={{#var:short name}} | Short name regular={{#var:short name regular}} }} {{#if: {{{term to show|}}}| {{#set: Full name={{{term to show|}}}}} | {{#set: Full name={{{term|}}}}} }}[[Category: Persons]] | ||
| default = [[Category: CTD terms]] | | default = [[Category: CTD terms]] | ||
}}<!-- | }}<!-- | ||
| Line 178: | Line 180: | ||
see if there are any: | see if there are any: | ||
-->{{#if: {{{library pages|}}} | {{#vardefine:link_exists|yes}} |}}<!-- | -->{{#if: {{{library pages|}}} | {{#vardefine:link_exists|yes}} |}}<!-- | ||
-->{{#if: {{{library links|}}} | {{#vardefine:link_exists|yes}} |}}<!-- | |||
-->{{#if: {{{quotes hpb|}}} | {{#vardefine:link_exists|yes}} |}}<!-- | -->{{#if: {{{quotes hpb|}}} | {{#vardefine:link_exists|yes}} |}}<!-- | ||
-->{{#if: {{{ctd rus|}}} | {{#vardefine:link_exists|yes}} |}}<!-- | -->{{#if: {{{ctd rus|}}} | {{#vardefine:link_exists|yes}} |}}<!-- | ||
| Line 187: | Line 190: | ||
-->{{#varexists:link_exists|{{Style P-No indent|'''Some links:'''}} | -->{{#varexists:link_exists|{{Style P-No indent|'''Some links:'''}} | ||
<ul> | <ul> | ||
{{#if: {{{library pages|}}}|<li>Related pages: {{#arraymap:{{{library pages|}}}|;|@@|[[@@]]}}</li>|}}<!-- | {{#if: {{{library links|}}}|<li>Related pages: {{#arraymap:{{{library links|}}}|;|@@|@@}}</li>|}}<!-- | ||
-->{{#if: {{{library pages|}}}|<li>Related pages: {{#arraymap:{{{library pages|}}}|;|@@|[[@@]]}}</li>|}}<!-- | |||
-->{{#if: {{{quotes hpb|}}}|<li>H.P.Blavatsky quotes: {{#arraymap:{{{quotes hpb|}}}|;|@@|[[:t-en-hpb:@@|@@]]}}</li>|}}<!-- | -->{{#if: {{{quotes hpb|}}}|<li>H.P.Blavatsky quotes: {{#arraymap:{{{quotes hpb|}}}|;|@@|[[:t-en-hpb:@@|@@]]}}</li>|}}<!-- | ||
-->{{#if: {{{ctd rus|}}}|<li>CTD article in Russian: [[:t-ru-lib:{{{ctd rus|}}}|{{{ctd rus|}}}]] [[t-ru-lib:{{{ctd rus|}}}]]</li>|}}<!-- | -->{{#if: {{{ctd rus|}}}|<li>CTD article in Russian: [[:t-ru-lib:{{{ctd rus|}}}|{{{ctd rus|}}}]] [[t-ru-lib:{{{ctd rus|}}}]]</li>|}}<!-- | ||