Difference between revisions of "Template:References"

From Make Inclusive Websites
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
{{References
 
{{References
 
|headline1=
 
|headline1=
|coord_head1=
+
|coordhead1=
 
|references1=
 
|references1=
 
|headline2=
 
|headline2=
|coord_head2=
+
|coordhead2=
 
|references2=
 
|references2=
 
|headline3=
 
|headline3=
|coord_head2=
+
|coordhead3=
 
|references3=
 
|references3=
 +
|headline4=
 +
|coordhead4=
 +
|references4=
 +
|headline5=
 +
|coordhead5=
 +
|references5=
 +
|linksto=
 +
|belongsto=
 +
|contains=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
{{#cargo_declare:_table=referencecollection|headline1=String|coord_head1=List (,) of String|references1=List (,) of String|headline2=String|coord_head2=List (,) of String|references2=List (,) of String|headline3=String|coord_head2=List (,) of String|references3=List (,) of String)}}
+
{{#cargo_declare:_table=referencecollection|headline1=String|coordhead1=List (,) of String|references1=List (;) of String|headline2=String|coordhead2=List (,) of String|references2=List (;) of String|headline3=String|coordhead3=List (,) of String|references3=List (;) of String|headline4=String|coordhead4=List (,) of String|references4=List (;) of String|headline5=String|coordhead5=List (,) of String|references5=List (;) of String|linksto=List (,) of Page|belongsto=List (,) of Page|contains=List (,) of Page)}}
 
</noinclude><includeonly>{{#cargo_store:_table=referencecollection}}{| class="wikitable"
 
</noinclude><includeonly>{{#cargo_store:_table=referencecollection}}{| class="wikitable"
 
! headline 1
 
! headline 1
Line 22: Line 31:
 
|-
 
|-
 
! headline 1 coordinates
 
! headline 1 coordinates
| {{{coord_head1|}}}
+
| {{{coordhead1|}}}
 
|-
 
|-
 
! references 1
 
! references 1
Line 31: Line 40:
 
|-
 
|-
 
! headline 2 coordinates
 
! headline 2 coordinates
| {{{coord_head2|}}}
+
| {{{coordhead2|}}}
 
|-
 
|-
 
! references 2
 
! references 2
Line 39: Line 48:
 
| {{{headline3|}}}
 
| {{{headline3|}}}
 
|-
 
|-
! headline 2 coordinates
+
! headline 3 coordinates
| {{{coord_head2|}}}
+
| {{{coordhead3|}}}
 
|-
 
|-
 
! references 3
 
! references 3
 
| {{{references3|}}}
 
| {{{references3|}}}
 +
|-
 +
! headline 4
 +
| {{{headline4|}}}
 +
|-
 +
! headline 4 coordinates
 +
| {{{coordhead4|}}}
 +
|-
 +
! references 4
 +
| {{{references4|}}}
 +
|-
 +
! headline 5
 +
| {{{headline5|}}}
 +
|-
 +
! headline 5 coordinates
 +
| {{{coordhead5|}}}
 +
|-
 +
! references 5
 +
| {{{references5|}}}
 +
|-
 +
! links to
 +
| {{#arraymap:{{{linksto|}}}|,|x|[[x]]}}
 +
|-
 +
! belongs to
 +
| {{#arraymap:{{{belongsto|}}}|,|x|[[x]]}}
 +
|-
 +
! contains
 +
| {{#arraymap:{{{contains|}}}|,|x|[[x]]}}
 
|}
 
|}
  
 
[[Category:references]]
 
[[Category:references]]
 
</includeonly>
 
</includeonly>

Latest revision as of 16:56, 26 April 2021

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

{{References
|headline1=
|coordhead1=
|references1=
|headline2=
|coordhead2=
|references2=
|headline3=
|coordhead3=
|references3=
|headline4=
|coordhead4=
|references4=
|headline5=
|coordhead5=
|references5=
|linksto=
|belongsto=
|contains=
}}

Edit the page to see the template text. This template defines the table "referencecollection". View table.