Nodyn:Blwch otomeiddio'r ddelwedd uchaf mewn Gwybodlen: Gwahaniaeth rhwng fersiynau

Cynnwys wedi'i ddileu Cynnwys wedi'i ychwanegu
Dim crynodeb golygu
Ceisio cywiro nam gyda lluniau
Llinell 3:
| aboveclass = fn org
| bodystyle = margin:0 auto 2px
 
<!--
| above = {{Br separated entries
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:Wikidata|getValue|P18|{{{image|FETCH_WIKIDATA}}} }}|size={{{image_size|}}}|size=280px|center=yes|alt={{{alt|}}}}}
| 1 = {{If empty|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span>}}
-->
| 2 = <span class="fn">{{If empty|{{{name|}}}|{{PAGENAMEBASE}}}}</span>
| data1 = {{First word|{{#invoke:Wikidata|getImages|P18|FETCH_WIKIDATA|<br>|265px}}|sep=]}}]]
| 3 = {{If empty|<span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}}
<!--- the use of {{first word}} here is designed to ensure only one image is ever returned - the getImages module returns images in the format [[File:Whatever|size]] and firstword is set up to trim the string at the first closing ], then add two ]] to the end to terminate it as a single image. --->
}}
| abovestyle = {{{abovestyle|}}}
 
| image = {{#invoke:InfoboxImage |InfoboxImage |image={{#invoke:WikidataIB |getPreferredValue |P18 |name=image |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced=no |noicon=yes | maxvals=1 |{{{image|}}}}} |size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}} |sizedefault=frameless |upright={{{image_upright|1}}} |alt={{{alt|}}} |suppressplaceholder=yes}}
| caption = {{#if:{{{image|}}}|{{{caption|}}}|{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA}}}}
 
}}