Template talk:Talk quotation

From Wikipedia, the free encyclopedia
  (Redirected from Template talk:Tq)
Jump to: navigation, search

Non-Compliant Colour[edit]

Just a heads up per this partical revert, #008560 is not WCAG AAA Compliant (details), per WP:COLOR. Alex|The|Whovian? 22:39, 26 January 2017 (UTC)

Did you read the discussion to which I linked? Additional considerations exist.
The template's purpose is to distinguish quoted messages from adjacent replies (standard black text). Using a shade of green more similar to black impedes this function for people with and without visual impairments. The current color (which is AA-compliant for small text and AAA-compliant for 18pt+ text) was carefully selected as a suitable compromise. —David Levy 02:06, 27 January 2017 (UTC)
I did. W3C compliance was not a requirement. We should add that requirement now. re more similar to black impedes: no, that's stretching that point way too much. WP:ACCESS wrt this also means, 'never by color alone'. So the color change should be (and correctly is) supported by other effects, font change in this case. btw, WP:ACCESS is quite relevant. The RfC cannot overrule this. -DePiep (talk) 07:29, 27 January 2017 (UTC)
As with every other Wikipedia guideline, WP:ACCESS "is a generally accepted standard that editors should attempt to follow, though it is best treated with common sense, and occasional exceptions may apply." It isn't an inviolable law to be followed without regard for context or unintended consequences.
no, that's stretching that point way too much
What do you mean? This isn't a hypothetical scenario that I pulled out of thin air; it's an issue that arose in the past. I experienced it personally. The use of a shade of green more similar to black made it difficult to distinguish the quoted text (the template's purpose), even with the use of a different typeface.
I take accessibility very seriously. Sometimes, its assurance entails analysis and discussion instead of indiscriminate adherence to a blanket standard. —David Levy 14:03, 27 January 2017 (UTC)

Where can I look at the wikitext of the template documentation?[edit]

For example, with this one, when I click on view source I get this:

{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|Template:Tq is only for quoting in talk and project pages. Do not use it in actual articles.}}|<!-- -->{{#if: {{{q|{{{quotes|}}}}}}|"}}<span <!-- -->{{#if: {{{title|}}} | title="{{{title}}}"}}<!-- --> {{#if: {{{i|{{{italic|}}}}}} | class="inline-quote-talk2" style="font-style: italic; | class="inline-quote-talk" style="font-family: Georgia, 'DejaVu Serif', serif;}} color: #008560;{{#if:{{{roman|{{{serif|}}}}}}|font-style: normal;}}"<!-- -->>{{{1|Example text}}}</span>{{#if: {{{q|{{{quotes|}}}}}}|"}}<!-- -->}}<noinclude> {{Documentation}} </noinclude>

I'm sure the source is somewhere else, but I can't tell from looking at this code where to look. FYI, I'm not planning on changing the documentation, I just want to copy parts of the code to my user page so I can easily re-read those parts I find most helpful. --David Tornheim (talk) 00:47, 20 April 2017 (UTC)

As it says at the bottom of the page, David Tornheim, the actual documentation is at Template:Talk quotation/doc, for editing or copying. Many templates now follow this convention of including a /doc subpage -- this is what {{documentation}} expects. DES (talk) 03:38, 4 June 2017 (UTC)

Broke[edit]

Uhh... hey @David Levy: and @AlexTheWhovian:, whatever you all just did seems to have partially broken the template. See this edit where I used it twice. The first time just displayed "Example text" while the second time it worked as normal. No idea why it would do this, but apparently it is. Just FYI. TimothyJosephWood 14:22, 26 June 2017 (UTC)

@Timothyjosephwood: Wasn't our edits, it was the formatting of your reply - you put an equals sign into the text. You used {{tq|For each reconstruction, the raw data has been decadally smoothed with a σ = 5 yr Gaussian weighted moving average}}, which is basically saying assign the named parameter For each reconstruction, the raw data has been decadally smoothed with a σ the value of 5 yr Gaussian weighted moving average, just like you might use {{cite web|url=URL}}.
What you need to use is either |1= at the start of the text, or use {{=}} when you use an equal sign. For example:
  • {{tq|1=For each reconstruction, the raw data has been decadally smoothed with a σ = 5 yr Gaussian weighted moving average}}
    • For each reconstruction, the raw data has been decadally smoothed with a σ = 5 yr Gaussian weighted moving average
  • {{tq|For each reconstruction, the raw data has been decadally smoothed with a σ {{=}} 5 yr Gaussian weighted moving average}}
    • For each reconstruction, the raw data has been decadally smoothed with a σ = 5 yr Gaussian weighted moving average
Cheers. -- AlexTW 21:58, 26 June 2017 (UTC)
Well, today I learned. TimothyJosephWood 23:19, 26 June 2017 (UTC)