User:GuildKnight/Sandbox/2

The UESPWiki – Your source for The Elder Scrolls since 1995

Jump to: navigation, search

An idea I had about including out-of-game info. The notice should be a template, and I'd like to make the notice put the article into a Category, maybe something like "Category:Pages With(Containing?) Out-of-Game Information(Notes/Sources?)"?

This should make it fairly easy to change the notice we use, or integrate the info.

Thinking about it some more, if we made the template contain the section header and a parameter for the info as well, it could also contain the noinclude tags, meaning editors adding out-of-game info would only have to type in a template with a parameter holding the info they're adding. I'm thinking: {{OOG|TEST}} would give the section shown below. Is this feasible?


I've been fiddling around with it a little, but I have come to the conclusion that it's not possible to have the template contain the noinclude tags because it will also cause it to be noinclude'd on the Lore page, and we just want it to be noinclude'd on any pages that transclude the Lore page. Please correct me, someone, if I'm wrong.
So, here's what I came up with; type:
<noinclude>
{{OOG|TEST<ref>test</ref>}}
</noinclude>
and get:


[edit] Out-of-Game Information

The information in this section is gleaned from an out-of-game source. Currently a discussion is taking place about whether and how information that is not found in the games should be integrated into UESP's articles.

TEST[1]

[edit] References

  1. test



Right now, it's on one of my sandboxes, but you can find documentation and an explanation of the template there. I can't figure out why it's messed up like that on that page, but it looks exactly right here and on the documentation page. Feedback?
Sponsored Links
Your Ad Here
Personal tools