Difference between revisions of "Template:create"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(Mention the date format we want; mention {{}} and ~; duplicate the text for the template view)
Line 1: Line 1:
 
<includeonly>{{comic
 
<includeonly>{{comic
 
| number    =  
 
| number    =  
| date      = <!-- Click on the "All Comics" button in the sidebar on the left and find this comic in the list. The date is in the rightmost column, in the form YYYY-MM-DD. -->
+
| date      = <!-- Click on the "All Comics" button in the sidebar on the left and find this comic in the list. The date is in the rightmost column, in the form YYYY-MM-DD. Please replace this comment with the date in Mmmm D, YYYY format. -->
 
| title    =  
 
| title    =  
 
| image    =  
 
| image    =  
Line 13: Line 13:
 
<!-- The transcript can be found in a hidden <div> element on the xkcd comic's html source, with id "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.  
 
   -- 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
+
   -- 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 -->
+
  -- Similarly for {{}}. Be careful to escape multiple ~s with <nowiki></nowiki>.
 +
   -- Do not include the title text again here. -->
  
 
{{comic discussion}}
 
{{comic discussion}}
<!-- 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:
 
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:
Line 24: Line 25:
 
{{comic
 
{{comic
 
| number    =  
 
| number    =  
| date      =  
+
| date      = <!-- Click on the "All Comics" button in the sidebar on the left and find this comic in the list. The date is in the rightmost column, in the form YYYY-MM-DD. Please replace this comment with the date in Mmmm D, YYYY format. -->
 
| title    =  
 
| title    =  
 
| image    =  
 
| image    =  
Line 36: Line 37:
 
<!-- The transcript can be found in a hidden <div> element on the xkcd comic's html source, with id "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.  
 
   -- 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
+
   -- 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 -->
+
  -- Similarly for {{}}. Be careful to escape multiple ~s with <nowiki><nowiki></nowiki></nowiki>.
 +
   -- Do not include the title text again here. -->
  
 
{{comic discussion}}
 
{{comic discussion}}
<!-- Include any categories below this line-->
+
<!-- Include any categories below this line. -->
 
</pre>
 
</pre>
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 17:43, 19 April 2013


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      = <!-- Click on the "All Comics" button in the sidebar on the left and find this comic in the list. The date is in the rightmost column, in the form YYYY-MM-DD. Please replace this comment with the date in Mmmm D, YYYY format. -->
| title     = 
| image     = 
| 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.
  -- Similarly for {{}}. Be careful to escape multiple ~s with <nowiki></nowiki>.
  -- Do not include the title text again here. -->

{{comic discussion}}
<!-- Include any categories below this line. -->