Edge Rewrite
Jump to content

Template talk:Aye

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia

center

[edit]

The actual template is mostly used in tables. However, it is not centered.

The code of the actual version:
<onlyinclude>[[File:Green check.svg|13px|alt=Green tick|link=]]<SPAN STYLE="display:none">Y</SPAN></onlyinclude>

I suggest to include the center command:
<onlyinclude>[[File:Green check.svg|13px|center|alt=Green tick|link=]]<SPAN STYLE="display:none">Y</SPAN></onlyinclude>

Example non centered & centered
non centeredGreen tick
non centeredGreen tick
non centeredGreen tick
centered
Green tick
centered
Green tick
centered
Green tick

Hippo99 (talk) 03:09, 1 December 2011 (UTC)Reply

Should this be used in the WP namespace?

[edit]

I've seen this template used in the Article namespace. It seems kind of "informal" and I'm not sure it should be. The documentation says it's for "easier organization of solved and unsolved issues" which makes me think it shouldn't be... Thoughts? — X96lee15 (talk) 16:30, 27 June 2013 (UTC)Reply

Template-protected edit request on 17 February 2025

[edit]

Allow for adjusting the alt text with a parameter |alt=:

<onlyinclude>[[File:Green check.svg|13px|alt={{#if:{{{alt|}}}|{{{alt}}}|Green tick}}|link=]]<SPAN STYLE="display:none">Y</SPAN></onlyinclude>
|alt=Green tick
+
|alt={{#if:{{{alt|}}}|{{{alt}}}|Green tick}}

waddie96 ★ (talk) 22:47, 17 February 2025 (UTC)Reply

Note to self: Then delete Template:Correct use and use this on WP:MOS. waddie96 ★ (talk) 22:50, 17 February 2025 (UTC)Reply
 Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. Also, why? The image is always a green tick, AFAICT. – Jonesey95 (talk) 20:16, 18 February 2025 (UTC)Reply
@Jonesey95 For use in cases where screenreaders would need to read "Correct use" for example in the WP:MOS, when used directly prior to code. Instead of me creating a redundant mirror of this exact template but allowing it to do exactly what I'm asking. I hope this clarifies. I provided the proposed changes in a <syntaxhighlight>...</syntaxhighlight>, and using {{text diff}}. Please LMKIYRM waddie96 ★ (talk) 05:01, 19 February 2025 (UTC)Reply
I don't really get the reasoning (or the meaning of "LMKIYRM", which turns up no hits on a web or Wikipedia search), but I have no objection to the addition by another template editor if it makes sense to them. In the meantime, {{Tick}} exists, and it appears to do what you want. I don't know why there are so many of these templates. – Jonesey95 (talk) 05:33, 19 February 2025 (UTC)Reply
@Jonesey95 {{Tick}} doesn't produce the same image. Compare Green tick and check (or check). Like I said above, I agree with your I don't know why there are so many of these templates assessment in that I don't want to create another redundant template simply to serve this purpose/fulfill the need to change the alt text.
An example I made up now:
Green tick Correct use: [[File:Tokyo.png|caption]]
Green tick Correct use: [[File:Tokyo.png|caption=yes]]
Green tick Correct use: [[File:Tokyo.png|alt=text]]
Green tick Correct use: [[File:Tokyo.png|alt=]]
Green tick Correct use: [[File:Tokyo.png]]
Red X Incorrect use: [[File:Tokyo.png|link=]]
Whereby some would replace repetitiveness with:
Green tick [[File:Tokyo.png|caption]]
Green tick [[File:Tokyo.png|caption=yes]]
Green tick [[File:Tokyo.png|alt=text]]
Green tick [[File:Tokyo.png|alt=]]
Green tick [[File:Tokyo.png]]
Red X [[File:Tokyo.png|link=]]
For ease of reading, but per MOS:ACCESSIBILITY on MOS:COLOR, color and icons shouldn't be the only method of conveying information. Hence, alt text to explain "correct use" when those who are visually impaired use a screenreader.
See WP:ALT as to why such implementations of alt text are important for wider WP:ACCESSIBILITY. waddie96 ★ (talk) 07:11, 19 February 2025 (UTC)Reply
Reopened per above reasoning given but no response received for 5 days. waddie96 ★ (talk) 22:10, 23 February 2025 (UTC)Reply
 Done Sohom (talk) 00:01, 24 February 2025 (UTC)Reply
Thanks! waddie96 ★ (talk) 01:30, 24 February 2025 (UTC)Reply