Difference between revisions of "Template:Linking"

From Networks of Care
Jump to navigation Jump to search
 
(23 intermediate revisions by the same user not shown)
Line 13: Line 13:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>{| class="wikitable"
 
</noinclude><includeonly>{| class="wikitable"
 +
{{ #if: {{{Author|}}} |
 
! Author
 
! Author
| {{#arraymap:{{{Author|}}}|,|x|[[Author::x]]}}
+
{{!}} {{#arraymap:{{{Author|}}}|,|x|[[Author::x]]}}| }}
  
 
|-
 
|-
{{ #if: {{{Source||}}} |
+
{{ #if: {{{Source|}}} |
 
! Source
 
! Source
 
{{!}} [[Source::{{{Source|}}}]] | }}
 
{{!}} [[Source::{{{Source|}}}]] | }}
Line 27: Line 28:
  
 
|-
 
|-
{{ #if: {{#ask: [[Connection::{{PAGENAME}}]] }} |
+
{{ #if: {{#ask: [[Connection::{{PAGENAME}}]] }} {{#show: {{PAGENAME}} |?Connection= }} |
 
! Related
 
! Related
{{!}} {{#ask: [[Connection::{{PAGENAME}}]] }} | {{ #if {{#show: {{PAGENAME}} |?Connection= }} |
+
{{!}} {{#ask: [[Connection::{{PAGENAME}}]] }} {{#show: {{PAGENAME}} |?Connection= }} }}
! Related
+
 
{{!}} {{ #if {{#show: {{PAGENAME}} |?Connection= }} | {{ #if: {{#ask: [[Connection::{{PAGENAME}}]] }} and {{#show: {{PAGENAME}} |?Connection= }} |
 
! Related
 
{{!}}  {{#ask: [[Connection::{{PAGENAME}}]] }} , {{ #if {{#show: {{PAGENAME}} |?Connection= }}  
 
| }} }} }}
 
 
|}
 
|}
 +
  
  

Latest revision as of 21:11, 10 June 2020

This is the "Linking" template. It should be called in the following format:

{{Linking
|Author=
|Source=
|Context=
|{{#ask: [[Connection::{{PAGENAME}}]] }}

}}

Edit the page to see the template text.