Template talk:Wondercard/5: Difference between revisions
Tiddlywinks (talk | contribs) |
Rigel Kent (talk | contribs) No edit summary |
||
Line 21: | Line 21: | ||
:::...This is a wiki. People around here are more likely to know wikicode (and/or ''better'') than they will generic HTML. We're not going to fill a template with a mess of pure HTML tags. | :::...This is a wiki. People around here are more likely to know wikicode (and/or ''better'') than they will generic HTML. We're not going to fill a template with a mess of pure HTML tags. | ||
:::There's a question of familiarity/bias in the mix here, too. I do understand that the table structure and nesting can be complicated. But it's still much easier for me to parse than your HTML-only draft. Maybe it's backwards for you. But, again, that's you—KNOW YOUR AUDIENCE. [[User:Tiddlywinks|Tiddlywinks]] ([[User talk:Tiddlywinks|talk]]) 01:59, 11 June 2016 (UTC) | :::There's a question of familiarity/bias in the mix here, too. I do understand that the table structure and nesting can be complicated. But it's still much easier for me to parse than your HTML-only draft. Maybe it's backwards for you. But, again, that's you—KNOW YOUR AUDIENCE. [[User:Tiddlywinks|Tiddlywinks]] ([[User talk:Tiddlywinks|talk]]) 01:59, 11 June 2016 (UTC) | ||
::::One thing wiki editors sometimes do is use templates as wrappers for HTML tags. {{tl|tt}} as a <span> wrapper being a good example of this. Do you think something along the lines of <code><nowiki>{{block | class=hello | style=font-size: small; | Hello world! }}</nowiki></code> be too complex a replacement for <code>{| class="hello" style="font-size: small;" |- | Hello world! |}</code>? [[User:Rigel Kent|<ruby lang="ja">ライケン<rp> </rp><rt lang="en">Rigel Kent</rt></ruby>]] ([[User talk:Rigel Kent|talk]]) 22:09, 12 June 2016 (UTC) |
Revision as of 22:10, 12 June 2016
Background color questions
I'm working on a redesign of this template. Currently I've only made code cleanup changes, for example, no longer rendering or serving the blank parts as nested hidden tables, for better performance. I wasn't planning to make any changes to the visual layout, but I noticed two things that I could change if desired.
First, in the wonder card display, there's a gap between the top-right corner background and the bottom part background. There's no gap present there in the games. Should I close this gap?
Second, there's a slight difference between the colors of those same two backgrounds. The top right background color is "{{#switch:{{{type|pokemon}}}|item=f773ad|08a8a8}}", and the bottom part background is "#{{#switch:{{{type|pokemon}}}|item=ef4a8c|009098}}". The color difference becomes more noticeable if the gap is closed. Should I change one to match the other? ライケン (talk) 15:26, 10 June 2016 (UTC)
- On second glance, it looks like the color difference was intentional. I can do diagonal stripes like in the games instead of the gap if that's preferred. ライケン (talk) 16:27, 10 June 2016 (UTC)
- It might be easiest if you just create a userpage. And/or best, so we can just double-check what form these updates you want to make will take. Tiddlywinks (talk) 16:41, 10 June 2016 (UTC)
- If you wouldn't mind creating a blank page for me, I can paste in what I've got so far. ライケン (talk) 17:38, 10 June 2016 (UTC)
- User:Rigel Kent/Wondercard. Tiddlywinks (talk) 18:00, 10 June 2016 (UTC)
- Oh, bummer, new accounts aren't allowed to edit user namespace. ライケン (talk) 18:11, 10 June 2016 (UTC)
- Then you could always just put it right here. The template isn't too terribly big, at least not currently. Or you could drop it here. It won't be usable like a template, of course, but it'll still be informative. Tiddlywinks (talk) 18:33, 10 June 2016 (UTC)
- Oh, bummer, new accounts aren't allowed to edit user namespace. ライケン (talk) 18:11, 10 June 2016 (UTC)
- User:Rigel Kent/Wondercard. Tiddlywinks (talk) 18:00, 10 June 2016 (UTC)
- If you wouldn't mind creating a blank page for me, I can paste in what I've got so far. ライケン (talk) 17:38, 10 June 2016 (UTC)
- It might be easiest if you just create a userpage. And/or best, so we can just double-check what form these updates you want to make will take. Tiddlywinks (talk) 16:41, 10 June 2016 (UTC)
(Indent reset) Project:Sandbox#Wonder Card Gen 5 draft. Still working on the details, but the background stripes are there. ライケン (talk) 21:05, 10 June 2016 (UTC)
- We're a wiki. Wikis and wikicode (wiki markup) exist for a reason: they're simplifications. Wiki coding is not supposed to be pure tags of spans and divs and etc.
- If you can convert your draft into a wiki markup format, then we might be able to consider it. But if pure tags is the only way you can perfectly recreate the game's designs, we'll have to stick with our good-enough imitations.
- (On a side note, it may help you to keep in mind the maxim, know your audience. You seem to be carrying some (perhaps?) professionally minded sensibilities; but as a wiki, understand that we may not need (or possibly be ready/equipped for) all of what you're used to doing exactly like you're used to doing it.) Tiddlywinks (talk) 23:50, 10 June 2016 (UTC)
- MediaWiki markup includes and extends HTML, so I assume you're talking about MediaWiki's "{| |}" table markup specifically? "{| {| {| |} |} |} {| {| {| |} {| {| |} {| |} |} |} {| |} |}" — the layout of the template right now — is fewer keystrokes than any raw HTML equivalent. It isn't necessarily simpler to maintain, though. Some of those tables are nested four deep. It took me a while to decipher the template's structure before I could make even minor edits. ライケン (talk) 01:36, 11 June 2016 (UTC)
- Let me repeat myself: KNOW YOUR AUDIENCE.
- ...This is a wiki. People around here are more likely to know wikicode (and/or better) than they will generic HTML. We're not going to fill a template with a mess of pure HTML tags.
- There's a question of familiarity/bias in the mix here, too. I do understand that the table structure and nesting can be complicated. But it's still much easier for me to parse than your HTML-only draft. Maybe it's backwards for you. But, again, that's you—KNOW YOUR AUDIENCE. Tiddlywinks (talk) 01:59, 11 June 2016 (UTC)
- One thing wiki editors sometimes do is use templates as wrappers for HTML tags. Template:Tl as a <span> wrapper being a good example of this. Do you think something along the lines of
{{block | class=hello | style=font-size: small; | Hello world! }}
be too complex a replacement for{| class="hello" style="font-size: small;" |- | Hello world! |}
? ライケン (talk) 22:09, 12 June 2016 (UTC)
- One thing wiki editors sometimes do is use templates as wrappers for HTML tags. Template:Tl as a <span> wrapper being a good example of this. Do you think something along the lines of
- MediaWiki markup includes and extends HTML, so I assume you're talking about MediaWiki's "{| |}" table markup specifically? "{| {| {| |} |} |} {| {| {| |} {| {| |} {| |} |} |} {| |} |}" — the layout of the template right now — is fewer keystrokes than any raw HTML equivalent. It isn't necessarily simpler to maintain, though. Some of those tables are nested four deep. It took me a while to decipher the template's structure before I could make even minor edits. ライケン (talk) 01:36, 11 June 2016 (UTC)