This is an archive of past UESPWiki:Community Portal discussions. Do not edit the contents of this page, except for maintenance such as updating links. |
Template Problems
I'm having problems right now at Oblivion:Sancre Tor, as described at Oblivion Talk:Sancre Tor with transclusions not being pulled into a template. When I try to understand the wikimedia help pages, it looks like they are doing similar things in their examples. In other words, they are able to use }} within input to a template without the template thinking that the braces mark the end of its input. Can anyone who understands this stuff better confirm? In other words, am I messing up, or am I trying to do something that's just not possible, or am I doing something that requires wiki here to be updated? --Nephele 16:00, 22 July 2006 (EDT)
- Are you trying to make a nested transclusion? For example, are you trying to transclude something as a parameter for a template? I tried that before, and it didn't work. --Aristeo 17:49, 22 July 2006 (EDT)
-
- Yeah, that sounds like the right technical term for it. FYI, I decided to move the broken version of Sancre Tor to User:Nephele/Sandbox/Sancre Tor. The quick version of what I'm trying to do is to make my sandbox copy look the same as Oblivion:Sancre Tor by getting the {{Tamriel:Sancre Tor}} transclusion to work. --Nephele 17:52, 22 July 2006 (EDT)
- One way to get this working would be to use
{{{{{AddAbove}}}}}
, thus allowing filling in onlyTamriel:Sancre Tor
, which should work. Of course if that message isn't always going to be transcluded this isn't going to work. GarrettTalk 20:42, 29 July 2006 (EDT)- My quick test suggests that doing that will make empty braces, i.e. {{}}, appear on the 99% of the pages that don't have any AddAbove text. I'm holding out hope for a wiki upgrade to miraculously solve all of the world's problems... or at least a few of these types of problems. In the meantime, Sancre Tor appears normal to readers, which is probably what matters short term. But thanks for the suggestion. --Nephele 22:29, 29 July 2006 (EDT)
- Ah, I thought as much. :( Well, next time the wiki is upgraded this can be fixed by making it an optional parameter (which means it won't render at all if left blank). GarrettTalk 01:17, 30 July 2006 (EDT)
- That's exactly what I was hoping for, and then not having to go through 100 place pages just to add a blank "AddAbove=" parameter to their summaries. --Nephele 01:26, 30 July 2006 (EDT)
- Ah, I thought as much. :( Well, next time the wiki is upgraded this can be fixed by making it an optional parameter (which means it won't render at all if left blank). GarrettTalk 01:17, 30 July 2006 (EDT)
- My quick test suggests that doing that will make empty braces, i.e. {{}}, appear on the 99% of the pages that don't have any AddAbove text. I'm holding out hope for a wiki upgrade to miraculously solve all of the world's problems... or at least a few of these types of problems. In the meantime, Sancre Tor appears normal to readers, which is probably what matters short term. But thanks for the suggestion. --Nephele 22:29, 29 July 2006 (EDT)
- One way to get this working would be to use
- Yeah, that sounds like the right technical term for it. FYI, I decided to move the broken version of Sancre Tor to User:Nephele/Sandbox/Sancre Tor. The quick version of what I'm trying to do is to make my sandbox copy look the same as Oblivion:Sancre Tor by getting the {{Tamriel:Sancre Tor}} transclusion to work. --Nephele 17:52, 22 July 2006 (EDT)
Yay! This problem has officially been fixed by the wiki upgrade --Nephele 18:31, 30 July 2006 (EDT)