Difference between revisions of "Template:create"
(Does anyone know how we can include the text in the "pre" tag from this template by calling the template itself (so that the documentation self-updates?) I can't figure out a way to get it into the "pre" without the calls themselves not functioning) |
|||
Line 20: | Line 20: | ||
<!-- Include any categories below this line--></includeonly><noinclude> | <!-- Include any categories below this line--></includeonly><noinclude> | ||
− | + | See [[mw:Manual:Creating pages with preloaded text]] and [[mw:Manual:Parameters to index.php#Options affecting the edit form]]. The following is the text preloaded by this template: | |
+ | |||
+ | <pre> | ||
+ | {{comic | ||
+ | | number = | ||
+ | | date = | ||
+ | | title = | ||
+ | | image = | ||
+ | | imagesize = | ||
+ | | titletext = | ||
+ | }} | ||
+ | |||
+ | ==Explanation== | ||
+ | <!-- Replace this line with the explanation! --> | ||
+ | |||
+ | ==Transcript== | ||
+ | <!-- The transcript can be found in a hidden <div> element on the xkcd comic's html source, with id "transcript". | ||
+ | -- Tip: Use colons (:) in the beginning of lines to preserve the original line breaks. | ||
+ | -- Any actions or descriptive lines in [[double brackets]] should be reduced to [single brackets] to avoid wikilinking | ||
+ | -- Do not include the title text again here --> | ||
+ | |||
+ | {{Comic discussion}} | ||
+ | <!-- Include any categories below this line--> | ||
+ | </pre></noinclude> |
Revision as of 14:24, 23 August 2012
See mw:Manual:Creating pages with preloaded text and mw:Manual:Parameters to index.php#Options affecting the edit form. The following is the text preloaded by this template:
{{comic | number = | date = | title = | image = | imagesize = | titletext = }} ==Explanation== <!-- Replace this line with the explanation! --> ==Transcript== <!-- The transcript can be found in a hidden <div> element on the xkcd comic's html source, with id "transcript". -- Tip: Use colons (:) in the beginning of lines to preserve the original line breaks. -- Any actions or descriptive lines in [[double brackets]] should be reduced to [single brackets] to avoid wikilinking -- Do not include the title text again here --> {{Comic discussion}} <!-- Include any categories below this line-->