Difference between revisions of "Template:Sidebyside"

From BITPlan royal-family Wiki
Jump to navigation Jump to search
 
(31 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
a normal tabular display of pictures would show the pictures row by row
 
a normal tabular display of pictures would show the pictures row by row
 
{{#ask: [[Concept:Person]]
 
{{#ask: [[Concept:Person]]
| mainlabel=-
+
| mainlabel=page
 
| searchlabel=
 
| searchlabel=
 
| ?Person picture = picture
 
| ?Person picture = picture
Line 15: Line 15:
 
<pre>
 
<pre>
 
{{#ask: [[Concept:Person]]
 
{{#ask: [[Concept:Person]]
| ?Person picture = picture
+
| mainlabel=page
 +
| searchlabel=
 +
| ?Person picture=picture
 
| sort=Person yearBorn
 
| sort=Person yearBorn
| order=desc
+
| order=asc
| format=template
+
| format=plainlist
 
| named args=yes
 
| named args=yes
 +
| link=none
 +
| headers=hide
 
| template=Sidebyside
 
| template=Sidebyside
 +
| userparam=100
 +
| limit=8
 
}}
 
}}
 
</pre>
 
</pre>
 
{{#ask: [[Concept:Person]]
 
{{#ask: [[Concept:Person]]
| ?Person picture =picture
+
| mainlabel=page
 +
| searchlabel=
 +
| ?Person picture=picture
 
| sort=Person yearBorn
 
| sort=Person yearBorn
| order=desc
+
| order=asc
| format=template
+
| format=plainlist
 
| named args=yes
 
| named args=yes
 
| link=none
 
| link=none
 +
| headers=hide
 
| template=Sidebyside
 
| template=Sidebyside
 +
| userparam=100
 +
| limit=8
 
}}
 
}}
</noinclude><includeonly>{{{?picture|}}}</includeonly>
+
</noinclude><includeonly>
 +
&#8291;[[{{{picture|}}}|{{{userparam|150}}}px|link={{{page|}}}]] </includeonly>

Latest revision as of 17:02, 28 September 2019

This is the Sidebyside Template to show pictures of the Persons side by side

a normal tabular display of pictures would show the pictures row by row

pagepicture
George III of the United KingdomFile:George III in Coronation edit.jpg
Charlotte of Mecklenburg-StrelitzFile:Queen Charlotte by studio of Allan Ramsay.jpg
George IV of the United KingdomFile:George IV van het Verenigd Koninkrijk.jpg

To display them side by side this template is used

{{#ask: [[Concept:Person]]
| mainlabel=page
| searchlabel=
| ?Person picture=picture
| sort=Person yearBorn
| order=asc
| format=plainlist
| named args=yes
| link=none
| headers=hide
| template=Sidebyside
| userparam=100
| limit=8
}}

George III in Coronation edit.jpgQueen Charlotte by studio of Allan Ramsay.jpgGeorge IV van het Verenigd Koninkrijk.jpgFrederickDukeofYork.jpegWilliam IV.jpgVon Hetsch - Charlotte of Great Britain, Queen of Wurttemberg.jpgEdward, Duke of Kent and Strathearn by Sir William Beechey.jpgPrincess augusta sophia.jpg