Jump to content

Template:CTD article: Difference between revisions

m
quotes corrected
m (+library links)
m (quotes corrected)
Line 34: Line 34:
  | library links =  
  | library links =  
  | library pages =  
  | library pages =  
  | quotes hpb =  
  | quotes =  
  | ctd rus =  
  | ctd rus =  
  | tsw en =  
  | tsw en =  
Line 77: Line 77:
* '''library links''' -- wiki pages in Library in user defined style; showed as set, with or without link
* '''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>
* '''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''' -- list of quote sources, separated by ";", f.e. ''H. P. Blavatsky; Radha Burnier''; for each source a link is generated to the matching section of this article's page in the [[:Quotes:|Quotes]] namespace, i.e. page ''Quotes:<the article's own page name>'', with an anchor equal to the source name -- f.e. for article ''Ahura Mazda'' and source ''H. P. Blavatsky'' the link leads to ''Quotes:Ahura Mazda#H. P. Blavatsky'' (that section heading must exist on the Quotes page and match the source name exactly, including capitalization)
* '''ctd rus''' -- article in Russian
* '''ctd rus''' -- article in Russian


Line 181: Line 181:
-->{{#if: {{{library pages|}}}  | {{#vardefine:link_exists|yes}} |}}<!--
-->{{#if: {{{library pages|}}}  | {{#vardefine:link_exists|yes}} |}}<!--
-->{{#if: {{{library links|}}}  | {{#vardefine:link_exists|yes}} |}}<!--
-->{{#if: {{{library links|}}}  | {{#vardefine:link_exists|yes}} |}}<!--
-->{{#if: {{{quotes hpb|}}}     | {{#vardefine:link_exists|yes}} |}}<!--
-->{{#if: {{{quotes|}}}         | {{#vardefine:link_exists|yes}} |}}<!--
-->{{#if: {{{ctd rus|}}}        | {{#vardefine:link_exists|yes}} |}}<!--
-->{{#if: {{{ctd rus|}}}        | {{#vardefine:link_exists|yes}} |}}<!--
-->{{#if: {{{tsw en|}}}        | {{#vardefine:link_exists|yes}} |}}<!--
-->{{#if: {{{tsw en|}}}        | {{#vardefine:link_exists|yes}} |}}<!--
Line 192: Line 192:
{{#if: {{{library links|}}}|<li>Related pages: {{#arraymap:{{{library links|}}}|;|@@|@@}}</li>|}}<!--
{{#if: {{{library links|}}}|<li>Related pages: {{#arraymap:{{{library links|}}}|;|@@|@@}}</li>|}}<!--
-->{{#if: {{{library pages|}}}|<li>Related pages: {{#arraymap:{{{library pages|}}}|;|@@|[[@@]]}}</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|}}}|<li>Quotes: {{#arraymap:{{{quotes|}}}|;|@@|[[Quotes:{{FULLPAGENAME}}#{{trim:@@}}|{{trim:@@}}]]}}</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>|}}<!--
-->{{#if: {{{tsw en|}}}|<li>Theosophy Wiki: {{#arraymap:{{{tsw en|}}}|;|@@|[[:tsw-en:@@|@@]]}}</li>|}}<!--
-->{{#if: {{{tsw en|}}}|<li>Theosophy Wiki: {{#arraymap:{{{tsw en|}}}|;|@@|[[:tsw-en:@@|@@]]}}</li>|}}<!--