Difference between revisions of "Template:create"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(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)
(Undo revision 319074 by Explain XKCD Adminstrator (talk) Undoing latest vandalism)
 
(24 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
<includeonly>{{comic
 
<includeonly>{{comic
| number    =  
+
| number    = {{subst:LATESTCOMIC}}
| date      =  
+
| date      = {{subst:CURRENTMONTHNAME}} {{subst:CURRENTDAY}}, {{subst:CURRENTYEAR}}
| title    =  
+
| title    = {{{1|Title}}}
| image    =  
+
| image    = {{{2}}}
| imagesize =  
+
| titletext = {{{3|Titletext}}}
| titletext =
 
 
}}
 
}}
  
 
==Explanation==
 
==Explanation==
<!-- Replace this line with the explanation! -->
+
{{incomplete|New page}}
  
 
==Transcript==
 
==Transcript==
<!-- The transcript can be found in a hidden <div> element on the xkcd comic's html source, with id "transcript".
+
{{incomplete 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}}  
+
{{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:
+
{{note|This page is used by [[Template:comicsrow]], which in turn is included in [[List of all comics]].}}
 +
The following is the text preloaded* by this template:
  
 
<pre>
 
<pre>
Line 28: Line 26:
 
| title    =  
 
| title    =  
 
| image    =  
 
| image    =  
| imagesize =
 
 
| titletext =  
 
| titletext =  
 
}}
 
}}
  
 
==Explanation==
 
==Explanation==
<!-- Replace this line with the explanation! -->
+
{{incomplete|New page}}
  
 
==Transcript==
 
==Transcript==
<!-- The transcript can be found in a hidden <div> element on the xkcd comic's html source, with id "transcript".
+
{{incomplete 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
+
{{comic discussion}}
  -- Do not include the title text again here -->
+
<!-- Include any categories below this line. -->
 +
</pre>
 +
 
 +
<nowiki>*</nowiki> For more information about this feature, see [[mw:Manual:Creating pages with preloaded text]] and [[mw:Manual:Parameters to index.php#Options affecting the edit form]].
  
{{Comic discussion}}  
+
To use this template, copy the following:
<!-- Include any categories below this line-->
+
<code><nowiki>{{subst:create|Title|Image|Titletext}}</nowiki></code>
</pre></noinclude>
+
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 07:54, 25 July 2023


Note This page is used by Template:comicsrow, which in turn is included in List of all comics.

The following is the text preloaded* by this template:

{{comic
| number    = 
| date      = 
| title     = 
| image     = 
| titletext = 
}}

==Explanation==
{{incomplete|New page}}

==Transcript==
{{incomplete transcript}}

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

* For more information about this feature, see mw:Manual:Creating pages with preloaded text and mw:Manual:Parameters to index.php#Options affecting the edit form.

To use this template, copy the following: {{subst:create|Title|Image|Titletext}}