Template talk:Simology: Difference between revisions

m
17 revisions imported: Import from https://sims.wikia.com
sims>LostInRiverview
No edit summary
m (17 revisions imported: Import from https://sims.wikia.com)
 
(10 intermediate revisions by 3 users not shown)
Line 1:
{{Talkheader}}
 
I can't seem to get this template to work if the parameter input is a table. If the table is used from a template (e.g. {{T|SkillTable}}), the table will just show properly. However, if the input is a table code, e.g.:
<pre>
Line 15 ⟶ 17:
::I've tried. I made this template use another one (like {{T|Sim3}} uses {{T|Sim}} as the base template) to no avail. [[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>]] 17:51, August 23, 2013 (UTC)
:::I'll have to play around with the template to be able to be any help. I'll copy it over to my testpage and see what I can see. -- '''[[User:LostInRiverview|<font color="navy">LostInRiverview</font>]]<sup> [[User_talk:LostInRiverview|<font color="green">talk</font>]] ~ [[User_blog:LostInRiverview|<font color="green">blog</font>]]</sup>''' 17:54, August 23, 2013 (UTC)
::::I have it loaded on a [[User:LostInRiverview/TabberTest|test page]] but I don't notice any problems. Perhaps you could make an edit to that page and demonstrate the issue? -- '''[[User:LostInRiverview|<font color="navy">LostInRiverview</font>]]<sup> [[User_talk:LostInRiverview|<font color="green">talk</font>]] ~ [[User_blog:LostInRiverview|<font color="green">blog</font>]]</sup>''' 18:12, August 23, 2013 (UTC)
:::::[http://sims.wikia.com/wiki/User:Nikel23/Sandbox?oldid=528452 Here]. The relationships and memories tabs will not display anything other than "{". [[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>]] 18:23, August 23, 2013 (UTC)
::::::The relationships and memories don't have their own templates (like {{t|SkillTable}} ''et al''), so my suggestion would be to create templates for those and see if it works. -- '''[[User:LostInRiverview|<font color="navy">LostInRiverview</font>]]<sup> [[User_talk:LostInRiverview|<font color="green">talk</font>]] ~ [[User_blog:LostInRiverview|<font color="green">blog</font>]]</sup>''' 18:30, August 23, 2013 (UTC)
:::::::I'm pretty sure it will work. I'm trying to figure out a way without making their own templates. There's a reason why we don't have them. There's limitless range for a Sim's relationships, memories, and inventory, and I can't think of any efficient way to make a template for that (especially since they're more less tables). [[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>]] 18:48, August 23, 2013 (UTC)
I had no choice but to make a template for relationships and memories (both can share the same template), {{T|RelTable}} and its subtemplate, {{T|RelTable/content}}. It's rather crude, but at least it can cover the unlimited range of rows. [[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>]] 06:41, September 9, 2013 (UTC)
:Example of usage can be seen at the [[The Sims Wiki:Sandbox|Sandbox]]. I must say... it looks rather messier than I originally thought it would be. [[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>]] 06:51, September 9, 2013 (UTC)
 
== Under construction ==
 
I don't get it. The template looks and functions fine. Why is it considered to be under construction? And why is it not recommended to be used outside the sandbox?
 
Is it that the page hasn't been updated, and that the "under construction" template should be removed? -- '''[[User:C.Syde65|<font color="maroon">C.Syde</font>]]''' ([[User talk:C.Syde65|<font color="black">talk</font>]] &#124; [[:Special:Contributions/C.Syde65|<font color="black">contribs</font>]]) 03:47, November 11, 2014 (UTC)
:I can't answer with absolute certainty, but I seem to recall that there are some issues with this template still. Nikel developed it, though, so he would know more about it than I would. In any case, it's probably best to just leave it "under construction" until he can weigh in. -- '''[[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>''' 04:54, November 11, 2014 (UTC)
 
::Currently it's not being developed as in "someone is trying to work on it at the moment," but it certainly means it's unfinished. The issue is still the same: we can't make a raw table inside this template, unless the table itself is part of another template like {{T|SkillTable}}. Memories, inventory, and relationships are ones that don't have table templates. I made one for relationships in {{T|RelTable}} and {{T|RelTable/content}}, but it's very crude and not flexible, not to mention too complicated to use, so it's better to avoid it in main articles.
 
::Wikia introduced [[w:c:dev:Lua templating|Lua templating language]]. Perhaps it has a way to solve this issue, but I don't know anything about Lua and I don't have time to learn at the moment. [[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>]] 02:39, November 12, 2014 (UTC)