User:Dinoguy1000

From Yugipedia
Revision as of 06:40, 17 June 2010 by Dinoguy1000 (talk | contribs) (Maintenance and cleanup: +list of known Template:Approximate name users)
Jump to: navigation, search

Template:W::User:Dinoguy1000

Hi, I'm Dinoguy1000! I am an occasional contributor here (for the record, I have 17,607 edits - full list). Feel free to leave me messages; I'll respond as soon as I can. if you have questions on non-YGH Wiki-related issues, though, it would probably be better to contact me on Wikipedia or to email me.

Maintenance and cleanup

Unreachable titles

See User talk:Deltaneos/Archive 26#Unreachable redirect for more info and background.

AWB stuff

So I don't have to keep working out how to do simple stuff - see also /awbtest.

Template replace

{{Errata
|name=%%pagename%%
}}

replaced with

{{Navigation}}

"Options" tab:

  • "Automatic changes" boxes all unchecked
  • "Find and replace" box checked; "Normal settings":
    • {{Errata\s\|name=\s*?%%pagename%%\s}} replaced with {{Navigation}}
      • \s = newline/whitespace
      • \| = pipe
      • \s*? = 0 or more whitespace characters, lazy match
      •  %%pagename%% = {{PAGENAME}}
    • "Regex" and "Enabled" boxes checked
    • all other boxes unchecked

Approximate name

'''''The Arabic name given is an approximation.'''''

replaced with (example only; there's quite a bit of variety in practice - see the range of regexes below)

{{Approximate name|Arabic}}

"Options" tab:

  • "Automatic changes" boxes all unchecked
  • "Find and replace" box checked; "Normal settings":
    • '*The \[\[Card Names\:%%pagename%%\|(.+?)]],? name given is an approximation\.'* replaced with {{Approximate name|$1}}
      • '* = any number of consecutive ' (apostrophes)
      • \[ = opening square bracket
      • \: = colon (escaping it isn't strictly necessary but AWB doesn't like it unescaped)
      •  %%pagename%% = {{PAGENAME}}
      • \| = pipe
      • (.+?) = any word, 1 or more characters (lazy match)
      • ,? = 0 or 1 commas
      • \. = period (works without escaping, but could lead to weird results since an unescaped period actually matches any character)
    • '*The (.+?)\,? name given is an approximation\.'* replaced with {{Approximate name|$1}}
      • \,? = 0 or 1 commas, escaped to keep it from matching in (.+?)
    • '*The (.+?)\,? (.+?)\,? (.*?)\,? (.+?)\,? (.+?)\,? and (.+?)\,? names given are approximations\.'* replaced with {{Approximate name|$1|$2|$3|$4|$5|$6}}
    • '*The (.+?)\,? (.+?)\,? (.+?)\,? (.+?)\,? and (.+?)\,? names given are approximations\.'* replaced with {{Approximate name|$1|$2|$3|$4|$5}}
    • '*The (.+?)\,? (.+?)\,? (.+?)\,? and (.+?)\,? names given are approximations\.'* replaced with {{Approximate name|$1|$2|$3|$4}}
    • '*The (.+?)\,? (.+?)\,? and (.+?)\,? names given are approximations\.'* replaced with {{Approximate name|$1|$2|$3}}
    • '*The (.+?)\,? and (.+?)\,? names given are approximations\.'* replaced with {{Approximate name|$1|$2}}
    • "Regex" and "Enabled" boxes are checked (for all)
    • all other boxes unchecked

Users using Template:Approximate name

This is a list of users I know to be actively translating card names into other languages and who tag the pages with {{Approximate name}} (the language/s they work in, linked to the relevant category/ies, follows their name). If you do similar work, or if you see an inaccuracy or omission in the list, please feel free to add or update the information. =)

Contributions

Some random things I've contributed (to) here.

Card lists

Note: I'm probably going to just start from scratch; I've learned *a lot* about template coding since I created these.

Here's a test of some card list templates for users to use to show what and how many cards they have.

Todo

  • Improve formatting and styling
    • TOTAL column bg should be a different color
    • totals should be bold
    • Allow user-specified styling (pretty simple to do, I hope...)
      • Default and user-specified even- and odd-row styles? (how will it work with auto-hiding rows?)
  • Add set total row (must be done set-by-set... ugh.)
  • Implement hidden rows and columns... (hidden columns work all-or-none for a given set)
    • when no copies of a card are owned (only in row, not in boosterrow or promorow (which will be replaced by row anyways))
      • No specific column naming (e.g. col1, col2, col3... instead of mu, m1, su, etc.)
    • for more specific collection nuances (e.g. Magic vs. Spell) (partially done... main and region headers play nice, as does row) (hmm... I've got to rework it, see above)
  • Ultimate Rares get their own rows (and/or sections) (actually, no set has magic/spell and UtRs (at least in the TCG, not sure about the OCG), so I can reuse the appropriate columns). How about errata/misprint cards?
  • Test thoroughly (i.e. make template for several sets, use own collection for a basis)
  • Move templates out of sandbox when done testing
  • Make a template for every set
    1. English-region
      1. Booster (and SE and SP) sets
      2. Reprint sets
      3. Duelist packs
      4. Videogame sets
      5. Tournament/Premium packs
      6. Duelist League sets
      7. Championship sets
      8. Any other promo sets
    2. Japanese-region
      1. see above
    3. any others

Templates

Test

{{/sandbox/ct04-en-cardlist}}

User:Dinoguy1000/sandbox/ct04-en-cardlist

Rowtest

{{/sandbox/cardlist-template-row}}

One column for number of cards, set number row excluded
User:Dinoguy1000/sandbox/cardlist-template-mainheader User:Dinoguy1000/sandbox/cardlist-template-boosterheader User:Dinoguy1000/sandbox/cardlist-template-row |}

One column for number of cards, set number row included
User:Dinoguy1000/sandbox/cardlist-template-mainheader User:Dinoguy1000/sandbox/cardlist-template-boosterheader User:Dinoguy1000/sandbox/cardlist-template-row |}

Two columns for number of cards (unlimited versus first editions), one total column, set number row excluded
User:Dinoguy1000/sandbox/cardlist-template-mainheader User:Dinoguy1000/sandbox/cardlist-template-boosterheader User:Dinoguy1000/sandbox/cardlist-template-row |}

Two columns for number of cards (unlimited versus first editions), one total column, set number row included
User:Dinoguy1000/sandbox/cardlist-template-mainheader User:Dinoguy1000/sandbox/cardlist-template-boosterheader User:Dinoguy1000/sandbox/cardlist-template-row |}

Two columns for number of cards (magic versus spell), one total column, set number row excluded
User:Dinoguy1000/sandbox/cardlist-template-mainheader User:Dinoguy1000/sandbox/cardlist-template-boosterheader User:Dinoguy1000/sandbox/cardlist-template-row |}

Two columns for number of cards (magic versus spell), one total column, set number row included
User:Dinoguy1000/sandbox/cardlist-template-mainheader User:Dinoguy1000/sandbox/cardlist-template-boosterheader User:Dinoguy1000/sandbox/cardlist-template-row |}

All subpages

User
User talk