Template talk:Infobox Officeholder
From Wikipedia, the free encyclopedia
Archives |
Contents |
Add issues below as you see fit, sign with ~~~~~
[edit] Image
{{editprotected}} The following case fails:
Test | |
|
|
Born | Some text |
---|
{{Infobox Officeholder |image=example.png |width= |birth_date=Some text |name=Test }}
Please can you edit the image code to add the green bits and remove the red bit:
- {{#if:{{{image|}}} | {{!}}colspan="2" style="text-align:center;" {{#switch:{{{image}}}|Replace this image male.svg|Replace this image female.svg|Replace this image1.svg|Replace this imageb.svg=class=dummy}}{{!}}[[Image:{{{image}}}|{{#ifeq:{{{image|}}}|Replace this image1.svg|150px|{{#if:{{{imagesize|}}}|{{{imagesize}}}|{{#if:{{{width|}}}|{{{width|225px}}}|225px}}}}}}|{{PAGENAME}}]]<br/> <small>{{{caption|}}}</small>
Thanks --h2g2bob (talk) 15:08, 25 May 2008 (UTC)
- Done. --- RockMFR 15:50, 25 May 2008 (UTC)
[edit] Size of the main image
The size of the main image in certain articles stays relatively small (see Bob Dole, Hillary Rodham Clinton) but the image is much larger in other articles (see George W. Bush, Dick Cheney). I originally thought that if I simply removed the 'image_size=' parameter from the pages with smaller photos, the specific size would be eliminated and the photo would size would increase (as it seems to have become the norm on American political articles). But my attempts failed, as the photos still remained small. I'm one for consistency, so does anyone know what the problem is? Happyme22 (talk) 18:54, 31 May 2008 (UTC)
- The parametre is
imagesize
. --Philip Stevens (talk) 19:41, 31 May 2008 (UTC)
[edit] "Office" breaks when "order" used
Can somebody provide a justification for "office" (and equivalent parameters) behaving differently (specifically, getting automatically encased in double square brackets) whenever "order" is used? It makes the use of offices such as "Provincial secretary of Quebec" impossible.
More generally, why should only offices which have a dedicated pages be allowed to use "order"? Circeus (talk) 17:36, 1 June 2008 (UTC)
- It was done when all the politician infoboxes where merged. Can you give an example of a page where the template becomes 'impossible'? --Philip Stevens (talk) 17:50, 1 June 2008 (UTC)
-
- See Étienne-Théodore Pâquet for a textbook example. Circeus (talk) 22:29, 1 June 2008 (UTC)