Difference between revisions of "Template:Country"

From OPENRESEARCH integration copy Wiki
Jump to navigation Jump to search
(modified through wikirestore by Tim Holzheim)
(modified through wikirestore by Tim Holzheim)
Line 72: Line 72:
 
|none=
 
|none=
 
|subobject= {{#subobject:-
 
|subobject= {{#subobject:-
|isA=Country|Country name={{{Country name|}}}
+
|isA=Country
 +
|Country name={{{Country name|}}}
 
|Country wikidataid={{{Country wikidataid|}}}
 
|Country wikidataid={{{Country wikidataid|}}}
 
}}
 
}}
 
|#default= {{#set:
 
|#default= {{#set:
|isA=Country|Country name={{{Country name|}}}
+
|isA=Country
 +
|Country name={{{Country name|}}}
 
|Country wikidataid={{{Country wikidataid|}}}
 
|Country wikidataid={{{Country wikidataid|}}}
 
}}
 
}}
Line 85: Line 87:
 
|tableheader= {{{!}} class='wikitable'
 
|tableheader= {{{!}} class='wikitable'
 
!Country name!!Country wikidataid{{!}}-
 
!Country name!!Country wikidataid{{!}}-
|tablerow=  
+
|tablerow= {{!}} class='wikitable'
 +
{{!}}Country name
 +
{{!}}{{!}}{{{Country wikidataid|}}}
 +
{{!}}-
 
|tablefooter={{!}}}
 
|tablefooter={{!}}}
 
|labelfield=Country name={{#if:{{{Country name|}}}|{{{Country name|}}}|}}<br>Country wikidataid={{#if:{{{Country wikidataid|}}}|{{{Country wikidataid|}}}|}}<br>
 
|labelfield=Country name={{#if:{{{Country name|}}}|{{{Country name|}}}|}}<br>Country wikidataid={{#if:{{{Country wikidataid|}}}|{{{Country wikidataid|}}}|}}<br>

Revision as of 00:04, 25 March 2021


This is the template Template:Country. It belongs to the concept/topic Concept:Country
You may find examples for the use of this template via the List of Countries.

Usage

storemode subobject

{{Country
|Country name=
|Country wikidataid=
|storemode=subobject
}}

storemode property

{{Country
|Country name=
|Country wikidataid=
|storemode=property
}}

storemode none

{{Country
|Country name=
|Country wikidataid=
|storemode=none
}}


viewmode tableheader

{{Country
|Country name=
|Country wikidataid=
|viewmode=tableheader
}}

viewmode tablerow

{{Country
|Country name=
|Country wikidataid=
|viewmode=tablerow
}}

viewmode tablefooter

{{Country
|Country name=
|Country wikidataid=
|viewmode=tablefooter
}}

viewmode labelfield

{{Country
|Country name=
|Country wikidataid=
|viewmode=labelfield
}}

Source

Click on "Edit" to edit the noinclude-part Source of this Template.