Template:MakeNewQuest: Difference between revisions

From questden
Jump to navigationJump to search
(Experimenting with a subst-based new-quest template)
 
m (Making this a little clearer for others to tweak.)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>{{Notice|color=red|majortext=Do not use this template directly!|minortext=It is designed to be substituted; see [[Help:Contents#...create a page for a new quest?|how to create a page for a new quest]].}}<!--
{{Notice|color=red|majortext=Do not use this template directly!|minortext=It is designed to be substituted; see [[Help:Contents#...create a page for a new quest?|how to create a page for a new quest]].}}
 
</noinclude><includeonly>{{Infobox
It'd be nice to let this automatically select use of [[Category:Image Quests]] based on a parameter, e.g.
  {{#if:{{{imagequest|}}}|[[Category:Image Quests]]|}}
but ParserFunctions don't run early enough to generate substitution text, so instead that literally gets shoved into the new page, which isn't the right thing at all.
 
If you're looking to edit this, you can mostly treat the below as something someone would copy-paste, since that's almost what the wiki does for them. Just don't stub your toe on any {{{template arguments}}}.
 
--></noinclude><includeonly>{{Infobox
|author={{{author|}}}
|author={{{author|}}}
|thread1={{{thread|}}}
|thread1={{{thread|}}}
Line 8: Line 14:


{{Stub}}
{{Stub}}
{{#if:{{{author|}}}|{{{{{author}}}}}|}}
{{MaybeAuthorTemplate|{{{author|}}}}}
{{#if:{{{imagequest|}}}|[[Category:Image Quests]]|}}
[[Category:Running Quests]]
[[Category:Running Quests]]
</includeonly>
</includeonly>

Latest revision as of 16:12, 6 September 2011

Do not use this template directly! It is designed to be substituted; see how to create a page for a new quest.