Difference between revisions of "Template:Linking"

From Networks of Care
Jump to navigation Jump to search
 
(70 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
|Source=
 
|Source=
 
|Context=
 
|Context=
 +
|{{#ask: [[Connection::{{PAGENAME}}]] }}
 +
 
}}
 
}}
 
</pre>
 
</pre>
 
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|}}} |
 
! Source
 
! Source
| [[Source::{{{Source|}}}]]
+
{{!}} [[Source::{{{Source|}}}]] | }}
  
 
|-
 
|-
 +
{{ #if: {{{Context|}}} |
 
! Context
 
! Context
| {{#arraymap:{{{Context|}}}|,|y|[[Context::y]]}}
+
{{!}} {{#arraymap:{{{Context|}}}|,|y|[[Context::y]]}} | }}
 +
 
 +
|-
 +
{{ #if: {{#ask: [[Connection::{{PAGENAME}}]] }} {{#show: {{PAGENAME}} |?Connection= }} |
 +
! Related
 +
{{!}} {{#ask: [[Connection::{{PAGENAME}}]] }} {{#show: {{PAGENAME}} |?Connection= }} }}
  
 
|}
 
|}
  
  
{{#ask: [[Connection::{{PAGENAME}}]]
+
 
|format=broadtable
 
|offset=0
 
|link=all
 
|mainlabel=Connections
 
|order=asc
 
|headers=show
 
|searchlabel=... further results
 
|class=sortable wikitable smwtable
 
}}
 
  
  

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.