Template talk:Collapse2

From eRepublik Official Wiki
Jump to: navigation, search

Explanation

I'm attempting to create a template that I saw on another wiki that's used to expand and collapse large amounts of text.

I think this would very useful for condensing large talk pages, such as Talk:Pakistan, Talk:The Book of Dio, and Template talk:Pakistan/Religious Views, where the discussion is very lengthy and difficult to navigate.

Anyone is welcome to help getting this set up, but if you don't know what you're doing, please don't edit the template.

--AgentChieftain Flag of the Crescent and Star T / H / E 12:15, 7 July 2008 (BST)

(Collapse|FAILURE|FAILURE|0|4=Now, I'm off to rigorously test (Read: Abuse) this out to see what it can and can't do. - –Dr. AgentChieftain Flag of the Crescent and Star PPP! B / C / D / F / P / S 21:51, 17 September 2008 (BST)

...Hmm, looks like there's still a problem. - –Dr. AgentChieftain Flag of the Crescent and Star PPP! B / C / D / F / P / S 21:54, 17 September 2008 (BST)
It looks like this template does not allow to use any other templates inside it.... any ideas how to solve this? --Belea2008 Hail eSouth Africa! chew the fat 22:30, 17 September 2008 (BST)
Solved... I think... It does not work with ":" and "::" and so on... --Belea2008 Hail eSouth Africa! chew the fat 23:58, 17 September 2008 (BST)
And now it does, would you look at that. Good night Irene. - –Dr. AgentChieftain Flag of the Crescent and Star PPP! B / C / D / F / P / S 12:18, 2 October 2008 (PDT)

)


We're no strangers to love

You know the rules, and so do I

A real commitment's what I'm thinking of

You wouldn't get this from any other guy

Notice how the sequential headers aren't working correctly. This is what I mean by "nesting".

- –Dr. AgentChieftain Flag of the Crescent and Star PPP! B / C / D / F / P / S 15:04, 28 September 2008 (PDT)


Troubleshooting

Alright, a few things I've noticed after testing:

  • Unlike it's ED counterpart, you can't nest a smaller one ({{Collapse3}}) within a bigger one ({{Collapse2}}). This one is bugging me quite a bit.
It's ED counterpart? --Mini "Template boy" Bill Italian in the deep core call me! 03:52, 28 September 2008 (PDT)
This. - –Dr. AgentChieftain Flag of the Crescent and Star PPP! B / C / D / F / P / S 14:58, 28 September 2008 (PDT)
  • It's really fabulously picky about what you can put inside of the template. Headers, list markup, and a whole bunch of other stuff doesn't work.
Can you make a more precise listing? --Mini "Template boy" Bill Italian in the deep core call me! 03:52, 28 September 2008 (PDT)
So far, here is what I've found not to work:
Headers
List markup (Colons [Making it useless for discussions], semicolons, asterisks, octothorpes)
Box templates
Other (Tl|Collapse)s
Edit links (Only solution is a spankin' new keyword)
- –Dr. AgentChieftain Flag of the Crescent and Star PPP! B / C / D / F / P / S 15:19, 28 September 2008 (PDT)
  • The "edit" link leads to editing the template itself, rather than the section
Mh... I think this is fixable --Mini "Template boy" Bill Italian in the deep core call me! 03:52, 28 September 2008 (PDT)
  • It works in Firefox, but doesn't work in Internet Explorer.
I don't think this is easily fixable --Mini "Template boy" Bill Italian in the deep core call me! 03:52, 28 September 2008 (PDT)

Is there anything we can do to fix the template? - –Dr. AgentChieftain Flag of the Crescent and Star PPP! B / C / D / F / P / S 14:13, 26 September 2008 (PDT)

Yep --Mini "Template boy" Bill Italian in the deep core call me! 03:52, 28 September 2008 (PDT)


Test


Shortcut:
HURR

---

Shortcut:

--- {{stub}} ---</div></span>

Navigation menu