Difference between revisions of "Template:sandbox"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(There's still some TBD's to be done. You can contact the author.)
(Frankly bizarre use of Template:sandbox. Reverted to last 'sensible' state before being perverted to some vanity project apropos of nothing either xkcd or explainxkcd in nature. Find some other site more suited for this stuff.)
Line 1: Line 1:
{{infobox
+
<includeonly><!--
| bodyclass  = vcard
+
--><metadesc>Explain xkcd is a wiki dedicated to explaining the webcomic xkcd. Go figure.</metadesc><!--
 +
--><table class="{{{bodyclass|}}}" cellspacing="5"
 +
          style="background-color: #FFFFFF; border: 1px solid #AAAAAA; color: black; font-size: 88%; line-height: 1.5em;
 +
                margin: 0.5em 0 0.5em 1em; padding: 0.2em; text-align: center; width:98%; {{{bodystyle|}}}"><!--
  
| abovestyle = background-color:#BCD4E6;
+
  ### Navigation bar (previous, next...) ###
| aboveclass = fn
 
| above      = ᏆᎳᏗᎧᎶᎶᏇᏂᏤᏂ <br> (English Version, Alternative Lyrics)
 
  
| labelstyle = line-height: 1.3em
+
  --><tr><td><!--
| datastyle  = line-height: 1.3em
+
    --><ul style="text-align: center; margin-bottom: 10px;" class="no-link-underline"><!--
  
| image      = c6h4cl2.png
+
      ### Create the prev button ###
| caption    = ''The Chaotic''
 
  
| label1    = Lyrics by
+
    --><li style="background-color: #6E7B91;
| data1      = [[User:Donald Amadeus Theophilus Gottlieb Trump|Donald ATG Trump]]<br>[[User:ColorfulGalaxy]]<br>Scratch---Cat (Stack Exchange)
+
                    border: 1.5px solid #333333; border-radius: 3px 3px 3px 3px; box-shadow: 0 0 5px 0 gray;
 +
                    display: inline; font-size: 16px; font-variant: small-caps; font-weight: 600;
 +
                    margin: 0 4px; padding: 1.5px 0;"><!--
 +
        -->[[{{#expr:{{{number}}} - 1}}|<span style="color: #FFFFFF; padding: 0 12px;">&lt; Prev</span>]]<!--
 +
      --></li><!--
  
| label2    = Music by
+
      ### Create a centre button with comic number, date (if exists) and link ###
| data2      = Owata-P
 
  
| label3    = Arranged by
+
      --><li style="background-color: #6E7B91;
| data3      = Down Left Forte
+
                    border: 1.5px solid #333333; border-radius: 3px 3px 3px 3px; box-shadow: 0 0 5px 0 gray;
 +
                    display: inline; font-size: 16px; font-variant: small-caps; font-weight: 600;
 +
                    margin: 0 4px; padding: 1.5px 0;"
 +
            class="plainlinks"><!--
 +
        -->[http://www.xkcd.com/{{{number}}}/ <!--
 +
        --><span style="color: #FFFFFF; padding: 0 12px;">Comic &#35;{{{number}}} {{#if:{{{date|}}}|({{{date}}})}}</span>]<!--
 +
      --></li><!--
  
| label4    = Vocals by
+
      ### If there is an article for the comic following this one, create a "next" ###
| data4      = The Donald Trump Vocaloid (TBD)<br>Kagamine Len (TBD)
 
  
| label5    = In Album
+
      -->{{#ifexist:{{#expr:{{{number}}} + 1}}<!--
| data5      = The Chaotic<br>April Fools Day Special Album
+
      -->|<li style="background-color: #6E7B91;
}}
+
                      border: 1.5px solid #333333; border-radius: 3px 3px 3px 3px; box-shadow: 0 0 5px 0 gray;
{{notice|'''Caution: This page may contain spelling issues.'''<br>''A hidden program may have scrambled some of the words while the lyrics were being copied to this website.''}}
+
                      display: inline; font-size: 16px; font-variant: small-caps; font-weight: 600;
{{notice|'''This page is still incomplete. You can help by contacting the authors and having them expand it.'''}}
+
                      margin: 0 4px; padding: 1.5px 0;"><!--
:<i><table><tr><td>J<br>U<br>S<br>T<br>I<br>C<br>E</td><td>It is for the sake of loneliness that is unspeakable<br>It's just self-righteousness </td></tr></table>
+
          -->[[{{#expr:{{{number}}} + 1}}|<span style="color: #FFFFFF; padding: 0 12px;">Next &gt;</span>]]<!--
:I'm totally like a losing dog who continues barking
+
        --></li><!--
:to continue to show of my own self-esteem
+
      -->|<li style="display: inline; font-size: 16px; margin: 0 4px; padding: 1.5px 12px;"><!--
:Not speaking justice of anything outside of me.
+
          -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--
:Regarding everything surrounding as bad-
+
        --></li><!--
:As even today I'm still barking.
+
      -->}}<!--
:<table><tr><td>''I<br>L<br>L<br>N<br>E<br>S<br>S''</td><td>Go off bravely...<br>as if there is some force behind me</td></tr></table>
+
    --></ul><!--
:I'm tormented by subjective illness-,
+
  --></td></tr><!--
:And yet, continuing to depend,
 
:And that eventually encourages further progress,
 
:and gradually eating away at my spirit-.
 
:<table><tr><td>''DE<br>PE<br>ND<br>EN<br>CE''</td><td>While defying the subjective disorder-<br>I ended up unable to live without it.</td></tr></table>
 
:I'm hoping to accept my existence,
 
:and to speak out my existence,
 
:And those who have that act are who I envy.
 
:Not who I hate.
 
:Since I just want to admit that.
 
:<big> Ꮖ Ꮃ Ꮧ Ꭷ Ꮆ Ꮆ Ꮗ Ꮒ Ꮴ Ꮒ </big>Font used:</i>
 
  
{|
+
  ### Comic title ###
| W || Ꮠ || H || (TBD) || Ꮙ&#x326; || (TBD) || Ꮗ̗ || (TBD) || Ꮟ || ~
 
|-
 
| Ᏻ || Ꮡ || Ꮀ || || Ꮗ̗ || || Ꭿ || (TBD) || .J || `
 
|-
 
| Ꮊ || Ꮳ || ,Ꮚ || || Ꭿ || || Z || || .Ꭶ || ]
 
|-
 
| || || <tt>I&#x317;</tt> || || || || || || Ꭱ
 
|-
 
! Cueball: what !! had !!  I !! actually !!  written !! this !! song !! for?
 
|}
 
  
'''Megan:''' <tt>I&#x326;</tt>W&#x323;ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ
+
  -->{{#if:{{{title|}}}|<tr><td style="font-size: 20px; padding-bottom:10px"><!--
:(TBD)
+
    -->'''{{{title}}}'''<!--
 +
  --></td></tr>}}<!--
  
'''Cueball:''' and I sang without yet understanding the words in  it
+
  ### Text before comic ###
  
'''Megan:''' <tt>I&#x326;</tt>W&#x323;ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ
+
  -->{{#if:{{{before|}}}|<tr><td style="padding-bottom:10px"><!--
:(TBD)
+
    -->{{{before}}}<!--
 +
  --></td></tr>}}<!--
  
'''Cueball:''' I ran outward for seeking the answer to problems
+
  ### Comic image and title text ###
  
'''Megan:''' ᏆᎳᏗᎧᎶᎶᏇᏂᏤᏂ
+
  --><tr><td><!--
 +
  -->{{#if: {{{custom|}}} |<!--
 +
    -->{{{custom|}}}|<!--
 +
    -->{{#if:{{{image|}}}|[[File:{{{image|}}}|{{{imagesize|}}}|{{{titletext|}}}]]}}}}<!--
 +
  -->{{#if:{{{imagesize|}}}|<br />[Click comic to enlarge]}}<!--
 +
  -->{{#if:{{{titletext|}}}|<br /><span style="{{{captionstyle|}}}"><span style="color:grey">Title text:</span> {{{titletext}}}</span>}}<!--
 +
  --></td></tr><!--
  
'''Cueball:''' even though in advance I knew that there was nothing where I was to struggle toward
+
  ### Transcript ###
  
'''Cueball:''' now lets sing now lets dance now lets move now lets chant now
+
-->{{{transcript}}}<!--
 +
  -->{{#if: {{{transcript|}}} |<!--
 +
    --><tr><td style="font-size: 50px; padding-bottom:3px; padding-top:10px">Transcript<!--
 +
    --><div class="mw-collapsible mw-collapsed"><!--
 +
      -->{{{transcript|}}}<!--
 +
    --></div><!--
 +
    --></td></tr>}}<!--
  
'''Megan:''' <tt>I&#x326;</tt>W&#x323;ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ
+
  --></table><!--
  
'''Cueball:''' now lets cry now lets yell now lets shout now lets scream out now
+
  ### Add categories to comic based on date field ###
  
'''Megan:''' <tt>I&#x326;</tt>W&#x323;ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ
+
-->{{DEFAULTSORT:&nbsp;{{padleft:{{{number}}}|4}}}}<!-- (default sorting key for all categories: use zero-padding to make sure #9 comes before #10, etc.)
 +
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<!-- (no categorization except for the main namespace)
 +
  -->{{#ifeq:{{FULLPAGENAME}}|{{int:mainpage}}||<!-- (no categorization when transcluded into the main page)
 +
    -->[[Category:Comics]]<!--
 +
    -->{{#if:{{{date|}}}|<!--
 +
      -->[[Category:Comics from {{#time:Y|{{{date}}}}}]]<!-- (categorize by year)
 +
      -->[[Category:Comics from {{#time:F|{{{date}}}}}]]<!-- (categorize by month)
 +
      -->[[Category:{{#time:l|{{{date}}}}} comics]]<!-- (categorize by weekday)
 +
    -->}}<!--
 +
  -->}}<!--
 +
-->|}}<!--
  
'''Cueball:''' and the gogs and the cats and the bulls and the pigs and all
+
  ### DOCUMENTATION ###
  
'''Megan:''' <tt>I&#x326;</tt>W&#x323;ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ
+
--></includeonly><noinclude>
: ''Jealousy and admiration''
+
This is the basic infobox-style header template used to display [[xkcd]] comics on their own pages, including the comic number (with external link to xkcd), publication date, title, comic image, and title text.
  
'''Cueball:''' now lets rage now lets rave now lets rant now lets rest now lets go the mortality way so
+
== Sample ==
:<i><table style="display: inline-table; line-height: 0.6em; vertical-align:middle;text-size-adjust:none;"><tr><td style="float:right;">I am</td></tr><tr><td>me is</td></tr></table>going to fight with what?</i>
 
:<i>Take those I don't recognize as the bad and continue fighting with them.</i>
 
:''JEALOUSY''
 
  
'''Cueball:'''<table><tr><td>rules and convention are what I hate<br>I just dont want to be tied up like that<br>That's the reason why I fled and ran away<br>thus forgetting the things happening aroundx<br>
+
The following is a sample usage of this template:
</td><td>''RULES''<br>''LAWS''</td></table>
+
{{sandbox
 
+
| number    = 16
'''Cueball:'''<br>Being told what to do is what I do '''hate'''
+
| date      = October 4, 2005
: ''hate''<br>''hate hate''
+
| title    = Monty Python -- Enough
A bit '''bad''' is just what I I want to be a
+
| image    = monty_python.jpg
: ''BAD=JUSTICE''
+
| titletext = I went to a dinner where there was a full 10 minutes of Holy Grail quotes exchanged, with no context, in lieu of conversation. It depressed me badly.
<table><tr><td>Slipping out of the house in the deepest night<br>Wandering carelessly in the the city streets</td><td>''MYSELF''</td><td>''TREES<br>TREES''</td></table>
+
| transcript= PENISESsdddddddddddddddddddddddddddddddddddddddddd
 
+
}}
'''Cueball:'''<br>so what is the purpose of my living?<br>
 
I just talked with a stray '''cat''' about what I had thought<br>
 
But the cat, not replying with anything<br>
 
Just merely looked down upon me with his thorny eyes<br>
 
 
 
'''Cueball:'''<table><tr><td>After drinking up the C0FFEE that I'd never drink<br>
 
And looking up to the sky, which was cloudy</td><td>''i''<br>''self-contradiction''</td><td>''ENEMY<br>ENEMY''</td></tr><tr><td>
 
:''Thinking ot justice, doing the bad.''</td></tr>
 
<tr><td>Now I do not know what I am able to do</td><td></td><td>''ENEMY''</td></tr><tr><td>
 
:''In the end, I do not know that it is the same act and.''</td></tr>
 
<tr><td>Or care of my situation</td><td></td><td>''ENEMY''</td></tr></table>
 
 
 
 
 
'''Cueball:''' and that is why I've been singing and shouting for so long
 
 
 
'''Megan:''' <tt>I&#x326;</tt>W&#x323;ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ
 
 
 
'''Cueball:''' Still I yell without yet understanding myself at all
 
 
 
'''Megan:''' <tt>I&#x326;</tt>W&#x323;ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ
 
 
 
'''Cueball:''' Are U able to be satisfied with what U already have
 
 
 
'''Megan:''' <tt>I&#x326;</tt>W&#x323;ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ
 
 
 
'''Cueball:''' Breaking rules, breaking laws&mdash;
 
 
 
&nbsp;In that case, what is that making any changes to U?
 
 
 
'''Cueball:''' Now whoever it is;
 
 
 
&nbsp;I just open my heart to him
 
 
 
'''Megan:''' ⍰⍰⍰⍰⍰⍰⍰⍰⍰⍰
 
 
 
'''Cueball:''' Punish all the bad; in support of the justice
 
 
 
'''Megan:''' ⍰⍰⍰⍰⍰⍰⍰⍰⍰⍰
 
 
 
'''Cueball:''' Just relieving the stress; under armor of justice
 
 
 
'''Megan:''' ⍰⍰⍰⍰⍰⍰⍰⍰⍰⍰
 
 
 
'''Cueball:''' Such stupid behavior that we didnt notice, when others did stop in the way Ah
 
:''Self-satisfac''
 
:''My act was completely...''
 
:''Only completely putting pressure.''
 
 
 
'''Cueball:'''<br>Ah, this song hsant got any sense
 
:''Putting pressure of sin on unrelated things.''
 
:''Feel as if beheading monsters.''
 
This song has never got any sense<br>This song hasnt it had any sin
 
:''XX and anything related is what I am jealous of.''
 
This song has never had any sin
 
 
 
{|
 
! Megan: !! Cueball:
 
|-
 
| ⍰⍰⍰⍰ || hsant got any sense
 
|-
 
| ⍰⍰⍰⍰ || has never got any sense
 
|-
 
| ⍰⍰⍰⍰ || hasnt it had any sin
 
|-
 
| || This song has got a sense of . . .
 
:''<span style="font-variant:small-caps">I have absolute right of justice and thus.</span>''
 
:''<span style="font-variant:small-caps">Me has absolute right of justics and yhus.</span>''
 
|-
 
| ⍰⍰⍰⍰
 
|}
 
 
 
:''I DO NOT WANT TO ADMIT''
 
:''Success from anyone other than me is bad.''
 
:''I DO NOT <span style="position: absolute; width: 100%; height: 100%; overflow: hidden;pointer-events: none;">I DO NOT WANT TO ADMIT</span>WANT TO ADMIT''
 
:''Therefore, I continue to seek for those guys' faults.''
 
:''I DO NOT <span style="position: absolute; width: 100%; height: 100%; overflow: hidden;pointer-events: none;">I DO NOT WANT TO ADMIT</span>WANT TO ADMIT''
 
 
 
'''Cueball:'''<br>It was not until then that I realise<br>That what I did experience was only hypocrisy
 
:''It's that it was all meaningless things.''
 
And the value of living  &nbsp;  is what on Earth?<br>The stray '''cat''' has suffocated deep under the water
 
 
 
'''Cueball:'''<br>I threw away that C0FFEE cup that's emptied<br>And looked to the sky covered by the darkness
 
:''Undifferent Hatred Fantasy Disappointment Meaningless''
 
:''[[83|KATAMARI]] OF SHlT''
 
Now I do not know what I have been doing<br>What happened in my surroundings
 
 
 
'''Cueball:''' &mdash;Still yet I've never ever known anything
 
:''Speaking low of those guys is my pleasure so...''
 
:''...so thi is why I repeat doing it.''
 
 
 
'''Cueball:''' After that U did laugh at me Loudly and happily
 
 
 
'''Megan:''' <tt>I&#x326;</tt>W&#x323;ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ
 
 
 
'''Cueball:''' After that I did shove you out fiercely and angrily
 
 
 
{|
 
| Ꮺ || T || Ꮑ || Ꮥ || o || Ꭹ || ẖ || Ꭸ || Ꭿ || J
 
|-
 
| Ᏺ || Ꮻ || s ||  Ꮜ || 'Ꭸ || T || Ꮅ || Ꭱ || Ꮧ ||  Ꮹ
 
|-
 
| Ꮉ || || Ꮷ || || || Ꮺ || Ꮍ || .* || || |
 
|-
 
| Ꮁ || || || || || || || Ꭶ
 
|-
 
! Megan: <tt>I&#x326;</tt> !! W&#x323; !! Ꮧ !! Ꭷ̱ !! Ꮆ !! Ꮆ̣ !! Ꮗ̗ !! ẖ !! Ꮴ !! ẖ
 
|}
 
 
 
'''Cueball:''' "I'm right, U are wrong End of discussion"
 
 
 
'''Megan:''' <tt>I&#x326;</tt>W&#x323;ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ
 
 
 
'''Cueball:''' U will now disappear Surrounded by nothingness, till I'm totally gone
 
 
 
{|
 
| || A || Ꮹ || .V || Ꮻ || .J || || Ꮺ || Ꮅ || .S || Ꮻ || A
 
|-
 
| || .J || Ꮅ || .S || M || Ꭳ || || || Ᏻ || .Ꮣ || M || .Ꭶ
 
|-
 
| || Ꭴ || 'Ᏻ || .Ꮣ || || || || || Ꮊ || Ꮷ || ||
 
|-
 
| || || || Ꮷ ||
 
|-
 
! Cueball: So !! now !! it !! is !! time !! to !! look !! back !! on !! what !! U !! have !! done
 
|}
 
 
 
'''Megan:''' <tt>I&#x326;</tt>W&#x323;ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ
 
: ''But it is that I am now continuing repeating the same thing.''
 
 
 
'''Cueball:''' Now lets laugh now lets mock now lets sneer now lets envy
 
 
 
'''Megan:''' <tt>I&#x326;</tt>W&#x323;ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ
 
: ''Just like dog going on circling the same place''
 
: ''It's because those guys misfortune is My pleasure.''
 
  
'''Cueball:''' Even I, even U, and whoever, and all of them
+
== Usage ==
  
'''Megan:''' ⍰⍰⍰⍰⍰⍰⍰⍰⍰⍰
+
<pre>{{comic
 +
| number    =
 +
| date      =
 +
| title    =
 +
| before    =
 +
| image    =
 +
| custom    =
 +
| imagesize =
 +
| titletext =
 +
| transcript=
 +
}}</pre>
  
'''Cueball:''' now lets rage now lets rave now lets rant now lets rest till were finally rotting away so
+
=== Notes ===
  
:''I'm feeling jealous''
+
* At least the number, title and image are required.
:''I'm feeling jealous''
+
* The date should be written in the form: January 1, 2006
 +
* The imagesize field is optional.
 +
** The comic's '''width''' will be limited to the set size. Format must be in pixels (eg: "350px")
 +
** The comic's '''height''' may be set by adding an 'x' to the start (eg: "x350px")
 +
** Warning: If the size is larger than the image, the image will be stretched.
 +
* '''before''' is a special field for inserting text before the comic. One use is for extremely large comics (e.g. [[Umwelt]]), to skip to the explanation.
 +
* If the '''custom''' field is not empty, the image field will be ignored and be replaced with any text that you put in the '''custom''' field.
  
:''<span style="font-variant:small-caps">It's all because of my desire of self-exhibition.</span>''
+
The above sample is produced by the following code:
  
:''<span style="font-variant:small-caps">And thus today I am going to... .</span>''
+
<pre>{{comic
 +
| number    = 16
 +
| date      = October 4, 2005
 +
| title    = Monty Python -- Enough
 +
| image    = monty_python.jpg
 +
| titletext = I went to a dinner where there was a full 10 minutes of Holy Grail quotes exchanged, with no context, in lieu of conversation. It depressed me badly.
 +
}}</pre>
  
:''(TBD)''
+
[[Category:Templates]]
 +
</noinclude>

Revision as of 13:01, 9 April 2023

This is the basic infobox-style header template used to display xkcd comics on their own pages, including the comic number (with external link to xkcd), publication date, title, comic image, and title text.

Sample

The following is a sample usage of this template:

PENISESsdddddddddddddddddddddddddddddddddddddddddd
Monty Python -- Enough
I went to a dinner where there was a full 10 minutes of Holy Grail quotes exchanged, with no context, in lieu of conversation.  It depressed me badly.
Title text: I went to a dinner where there was a full 10 minutes of Holy Grail quotes exchanged, with no context, in lieu of conversation. It depressed me badly.
Transcript
PENISESsdddddddddddddddddddddddddddddddddddddddddd

Usage

{{comic
| number    = 
| date      = 
| title     = 
| before    =
| image     = 
| custom    = 
| imagesize = 
| titletext = 
| transcript= 
}}

Notes

  • At least the number, title and image are required.
  • The date should be written in the form: January 1, 2006
  • The imagesize field is optional.
    • The comic's width will be limited to the set size. Format must be in pixels (eg: "350px")
    • The comic's height may be set by adding an 'x' to the start (eg: "x350px")
    • Warning: If the size is larger than the image, the image will be stretched.
  • before is a special field for inserting text before the comic. One use is for extremely large comics (e.g. Umwelt), to skip to the explanation.
  • If the custom field is not empty, the image field will be ignored and be replaced with any text that you put in the custom field.

The above sample is produced by the following code:

{{comic
| number    = 16
| date      = October 4, 2005
| title     = Monty Python -- Enough
| image     = monty_python.jpg
| titletext = I went to a dinner where there was a full 10 minutes of Holy Grail quotes exchanged, with no context, in lieu of conversation.  It depressed me badly.
}}