The Sims Wiki talk:Development Portal: Difference between revisions

no edit summary
imported>Nikel23
imported>K6ka
No edit summary
Line 486:
:::Personally I'd prefer the first option. Using the full name eliminates any guesswork when trying to remember the name. For instance, TS3 showtime, seasons, and supernatural all start with 'S' - which of the three would be 'TS3S'? This could conceivably happen in TS4 as well. '''[[User:LostInRiverview|<font color="navy">LostInRiverview</font>]]<sup> [[User_talk:LostInRiverview|<font color="green">talk</font>]] • [[User_blog:LostInRiverview|<font color="green">blog</font>]] • [[Special:Contributions/LostInRiverview|<font color="green">contribs</font>]]</sup>''' 17:21, August 18, 2015 (UTC)
::::I wouldn't argue that argument. After all, I've been using {{T|TS3icon}} and {{T|TS4icon}} templates recently to insert game icons (maybe I'd make TS2icon some time), which is more practical. I guess option #1 is okay then. [[User:Nikel23|'''<span style="color:#007FFF; text-shadow: #ACE5EE 0 4px 4px;">Nikel</span>''']] [[User talk:Nikel23|<span style="color: #30D5C8 ; text-shadow: #00FFEF 0 4px 4px;"><sub>''Talk''</sub></span>]] <sub>–</sub> [[The Sims Wiki:Featured Media/Voting|<span style="color:red ; text-shadow:#E97451 0 4px 4px;"><sub>''Vote!''</sub></span>]] 08:15, August 20, 2015 (UTC)
 
==IPA templates==
Recently I have been working on a few templates designed to hold and process [[wikipedia:International Phonetic Alphabet|IPA characters]], inspired by the IPA templates that the English Wikipedia (and many other Wikimedia projects) use. I've made a few templates on my test wiki, completely rewritten and in non-Lua format, and I think it's safe to see if we can use them on TSW articles.
 
I put forth this idea because some Sim names are difficult to pronounce (such as [[Quickley Arlecchino]]), and IPA may be able to help with this. IPA is in no way the best way to learn how to pronounce words (because of all the unusual characters that make one's text look like mojibake, so I find Wikipedia's approach to IPA — using tooltips to help readers pronounce the strange characters — a feasible solution, since it has helped me a lot in the past as well. I have also uploaded audio pronunciations as well, rendered on pages via {{t|Listen}}, but audio recordings take time, since I need to learn the pronunciations, get them right, and then record my voice with my cheap recording equipment, and then pick out the recordings I like best for uploading (or re-record the whole thing because I didn't like any of them).
 
So, I present to you {{t|IPA}} and {{t|IPAc-en}}. The former is nothing special, and is simply a "catch-all" template, intended to support all IPA characters from any alphabet, any language, anywhere. The one I really want to make a note of is the latter.
 
{{t|IPAc-en}}, derived from the template of the same name and of similar function on the English Wikipedia, is the template that helped me understand IPA. (For the most part, at least) It only accepts IPA characters from English, and from a specific set too. Wikipedia has their own unique set of characters and with their own pronunciations, so it may differ slightly from the normal IPA sets.
 
Take, for example, [[Mortimer Goth]], which, with this IPA template, would make the lede look something like this:
 
<blockquote>
'''Mortimer Goth''' {{IPAc-en|ˈ|m|ɒr|_|t|ə|_|m|ə|r|_|ɡ|ä|θ}} lives in the Goth mansion...
</blockquote>
 
Move your cursor over the characters and watch as the tooltips tell you how to pronounce each and every one of them! Because of the way this template works, each character gets its own parameter, so the resulting wikitext would look like this:
 
<code><nowiki>{{IPAc-en|ˈ|m|ɒr|_|t|ə|_|m|ə|r|_|ɡ|ä|θ}}</nowiki></code>
 
Up to 50 characters are supported, although more can very easily be added to the template in the future. You can also use {{t|IPA}}, which does not require that every character use its own parameter (but it has no special tooltips, as a consequence).
 
This template also supports audio pronunciations, like I have been doing for a few Sims recently. The following is for [[Tybalt Capp]]:
 
<blockquote>
'''Tybalt Capp''' ({{IPAc-en|ˈ|t|ɪ|b|ə|l|t|_|k|æ|p|audio=File:En us Tybalt Capp.ogg|audio-url=http://vignette2.wikia.nocookie.net/sims/images/c/cc/En_us_Tybalt_Capp.ogg/revision/latest}}) is a pre-made teen [[Sim]]...
</blockquote>
 
The list of characters supported by this template can be found at [[Template:IPAc-en/doc|the documentation page]]. If a character is not supported by this template, the template will display an error message. In that case, either change the unsupported character to one that is supported, or use {{t|IPA}}, which does not use tooltips.
 
This template is still new so it may have some bugs, but otherwise it should be safe to use in articles. Refer to [[Wikipedia:Help:IPA for English]] for more about these IPA characters. --I am [[User:K6ka|'''<span style="color:#0040FF">k6ka</span>''']] [[User talk:K6ka|<span style="color:#0080FF"><sup>Talk to me!</sup></span>]] [[Special:Contributions/K6ka|<span style="color:#0B4C5F"><sub>See what I have done</sub></span>]] 00:32, September 6, 2015 (UTC)
Anonymous user