Difference between revisions of "Template talk:God"

From GodWiki
Jump to: navigation, search
m
m
Line 29: Line 29:
 
:: Can you show us an example of what you suggest, {{U|WardPhoenix}}? If you do this: <code>{<nowiki />{subst:God}}</code> and save, you can then edit the <code>[<nowiki />[File:...</code> part of the substituted template code and we can see how it behaves on a few different displays. 😊 -- [[User:Djonni|Djonni]] ([[User talk:Djonni|talk]]) 10:45, 15 November 2019 (UTC)
 
:: Can you show us an example of what you suggest, {{U|WardPhoenix}}? If you do this: <code>{<nowiki />{subst:God}}</code> and save, you can then edit the <code>[<nowiki />[File:...</code> part of the substituted template code and we can see how it behaves on a few different displays. 😊 -- [[User:Djonni|Djonni]] ([[User talk:Djonni|talk]]) 10:45, 15 November 2019 (UTC)
  
{{#ifeq:{{yesno-no|{{{plain}}}}}
+
::: In theory, the upright parameter can be used instead of px, as it will scale according to user's default image width. For example, the first picture below is at <code>upright=0.4</code> while the second is at <code>upright=1.1</code>, and i didn't used any px parameter.
|no|<span style="border: 1px solid #aaa; background: #fcfcf9; margin-right: .3em; padding: 1px;"><span style="white-space: nowrap;font-weight:bold;">[[Image:godicon.png|God|link=http://godvillegame.com/gods/{{urlencode:Godville|PATH}}]] }}[http://godvillegame.com/gods/{{urlencode:Godville|PATH}} Godville&#8202;]{{#ifeq:{{yesno-no|{{{plain}}}}}|no|</span>}}{{#if:    |{{medal | hr = | zv =  | ar =  | tr =  | cm = }}|{{#ifeq:{{yesno-no|{{{plain}}}}}|no|&thinsp;}}}}{{#if: |<span style="white-space: nowrap; font-size: 85%;">([[User:{{{1}}}|<span {{#ifeq:{{yesno-no|{{{plain}}}}}
+
[[File:Manual.png|frameless|center|upright=0.4]]
|no|style="font-weight:bold;"}} title="Visit {{{1}}}'s Godwiki Userpage">U</span>]]&#8202;•&#8202;[[Special:Contributions/{{{1}}}|<span {{#ifeq:{{yesno-no|{{{plain}}}}}
+
[[File:Manual.png|frameless|center|upright=1.1]]
|no|style="color:#222;font-weight:bold;"}} title="View {{{1}}}'s Godwiki contributions">C</span>]]&#8202;•&#8202;[[User talk:{{{1}}}|<span {{#ifeq:{{yesno-no|{{{plain}}}}}
+
[[File:godicon.png|frameless|center|upright=0.4]]
|no|style="font-weight:bold;"}} title="Leave a message on {{{1}}}'s user talk page">T</span>]])&thinsp;</span>}}{{#ifeq:{{yesno-no|{{{plain}}}}}|no|</span>}}
+
[[File:godicon.png|frameless|center|upright=3.4]]
 +
 
 +
:::But somehow, as you can see, it doesn't seem to work on the icon. Maybe becuase the icon is to smol. --[[User:WardPhoenix|WardPhoenix]] ([[User talk:WardPhoenix|talk]]) 11:22, 15 November 2019 (UTC)

Revision as of 11:22, 15 November 2019

Tiny images as icons

So, as many of us know painfully well, all of the original work on the Godwiki was done by desktop user(s) for desktop users with a total disregard for mobile interfaces. We also know that the overwhelming majority of interaction with the Godwiki is done in mobile. And one of our goals is to increase usability and accessibility in general, but for periods who use assistive technologies in particular.

So, I think it's time we replaced the manually px-sized image in the God template with an emoji icon. We've had that ovate in the template since Godwiki dawn, so I suspect some people may be attached to it, but I'd like to replace it with the silhouette symbol: 👤

It's a little less interesting, granted, but since the image isn't scaled up on high-density moving displays nobody ever sees that detail anyway.

It will mean we'll go from seeing this:

GodGodville 

To this:

👤Godville 

I'm open to other suggestions, thoughts and criticisms, but replacing all of these non-scaling icons is one of the things on The List™️ of stuff I've been meaning to fix forever. -- Djonni (talk) 10:07, 15 November 2019 (UTC)

Personally, I don't really care about that picture but simple question : doesn't using the |upright parameter instead of px work for those kind of image? -- WardPhoenix (talk) 10:35, 15 November 2019 (UTC)
Can you show us an example of what you suggest, WardPhoenix? If you do this: {{subst:God}} and save, you can then edit the [[File:... part of the substituted template code and we can see how it behaves on a few different displays. 😊 -- Djonni (talk) 10:45, 15 November 2019 (UTC)
In theory, the upright parameter can be used instead of px, as it will scale according to user's default image width. For example, the first picture below is at upright=0.4 while the second is at upright=1.1, and i didn't used any px parameter.
Manual.png
Manual.png
Godicon.png
Godicon.png
But somehow, as you can see, it doesn't seem to work on the icon. Maybe becuase the icon is to smol. --WardPhoenix (talk) 11:22, 15 November 2019 (UTC)