Latest revision |
Your text |
Line 1: |
Line 1: |
− | <includeonly><!--
| + | {{infobox |
− | --><metadesc>Explain xkcd is a wiki dedicated to explaining the webcomic xkcd. Go figure.</metadesc><!--
| + | | bodyclass = vcard |
− | --><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|}}}"><!--
| |
| | | |
− | ### Navigation bar (previous, next...) ###
| + | | abovestyle = background-color:#BCD4E6; |
| + | | aboveclass = fn |
| + | | above = ᏆᎳᏗᎧᎶᎶᏇᏂᏤᏂ <br> (English Version, Alternative Lyrics) |
| | | |
− | --><tr><td><!--
| + | | labelstyle = line-height: 1.3em |
− | --><ul style="text-align: center; margin-bottom: 10px;" class="no-link-underline"><!--
| + | | datastyle = line-height: 1.3em |
| | | |
− | ### Create the prev button ###
| + | | image = c6h4cl2.png |
| + | | caption = ''The Chaotic'' |
| | | |
− | --><li style="background-color: #6E7B91; | + | | label1 = Lyrics by |
− | border: 1.5px solid #333333; border-radius: 3px 3px 3px 3px; box-shadow: 0 0 5px 0 gray;
| + | | data1 = [[User:Donald Amadeus Theophilus Gottlieb Trump|Donald ATG Trump]]<br>Scratch---Cat (Stack Exchange) |
− | 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;">< Prev</span>]]<!--
| |
− | --></li><!--
| |
| | | |
− | ### Create a centre button with comic number, date (if exists) and link ###
| + | | label2 = Music by |
| + | | data2 = Owata-P |
| | | |
− | --><li style="background-color: #6E7B91;
| + | | label3 = Arranged by |
− | border: 1.5px solid #333333; border-radius: 3px 3px 3px 3px; box-shadow: 0 0 5px 0 gray;
| + | | data3 = Down Left Forte |
− | 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 #{{{number}}} {{#if:{{{date|}}}|({{{date}}})}}</span>]<!--
| |
− | --></li><!--
| |
| | | |
− | ### If there is an article for the comic following this one, create a "next" ###
| + | | label4 = Vocals by |
| + | | data4 = The Donald Trump Vocaloid (TBD)<br>Kagamine<pre>n=input() |
| + | while(n[0]!='@'): |
| + | for i in range(len(n)): |
| + | if(0<=ord(n[i])-12288<=255): |
| + | print(str(ord(n[i])-12352)+'.',end='') |
| + | else: |
| + | print(n[i],end='') |
| + | print() |
| + | n=input()</pre> Len (TBD) |
| | | |
− | -->{{#ifexist:{{#expr:{{{number}}} + 1}}<!--
| + | | label5 = In Album |
− | -->|<li style="background-color: #6E7B91;
| + | | data5 = The Chaotic<br>April Fools Day Special Album |
− | 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;
| + | {{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.''}} |
− | margin: 0 4px; padding: 1.5px 0;"><!--
| + | what had I actually written this song for? |
− | -->[[{{#expr:{{{number}}} + 1}}|<span style="color: #FFFFFF; padding: 0 12px;">Next ></span>]]<!--
| + | |
− | --></li><!--
| + | Ꮖ̦Ꮃ̣ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ |
− | -->|<li style="display: inline; font-size: 16px; margin: 0 4px; padding: 1.5px 12px;"><!--
| + | |
− | --> <!--
| + | and I sang without yet understanding the words in it |
− | --></li><!--
| + | |
− | -->}}<!--
| + | Ꮖ̦Ꮃ̣ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ |
− | --></ul><!--
| + | |
− | --></td></tr><!--
| + | I ran outward for seeking the answer to problems |
| + | |
| + | ᏆᎳᏗᎧᎶᎶᏇᏂᏤᏂ |
| + | |
| + | even though in advance I knew that there was nothing where I was to struggle toward |
| | | |
− | ### Comic title ###
| + | now lets sing now lets dance now lets move now lets chant now |
| | | |
− | -->{{#if:{{{title|}}}|<tr><td style="font-size: 20px; padding-bottom:10px"><!--
| + | Ꮖ̦Ꮃ̣ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ |
− | -->'''{{{title}}}'''<!--
| |
− | --></td></tr>}}<!--
| |
| | | |
− | ### Text before comic ###
| + | now lets cry now lets yell now lets shout now lets scream out now |
| | | |
− | -->{{#if:{{{before|}}}|<tr><td style="padding-bottom:10px"><!--
| + | Ꮖ̦Ꮃ̣ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ |
− | -->{{{before}}}<!--
| |
− | --></td></tr>}}<!--
| |
| | | |
− | ### Comic image and title text ###
| + | and the gogs and the cats and the bulls and the pigs and all |
| | | |
− | --><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><!--
| |
| | | |
− | ### Transcript ###
| + | now lets rage now lets rave now lets rant now lets rest now lets go the mortality way so |
| | | |
− | -->{{{transcript}}}<!--
| + | rules and convention are what I hate |
− | -->{{#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>}}<!--
| |
| | | |
− | --></table><!--
| + | I just dont want to be tied up like that |
| | | |
− | ### Add categories to comic based on date field ###
| + | That's the reason why I fled and ran away |
| | | |
− | -->{{DEFAULTSORT: {{padleft:{{{number}}}|4}}}}<!-- (default sorting key for all categories: use zero-padding to make sure #9 comes before #10, etc.)
| + | thus forgetting the things happening around |
− | -->{{#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)
| |
− | -->}}<!--
| |
− | -->}}<!--
| |
− | -->|}}<!--
| |
| | | |
− | ### DOCUMENTATION ###
| + | Being told what to do is what I do hate |
| | | |
− | --></includeonly><noinclude>
| + | A bit Bad is just what I I want to be a |
− | This is the basic infobox-style header template used to display <span style="background:#0064de;font-size:12px;padding:4px 12px;border-radius:8px;">[[xkcd|<span style="color:#f0faff;">xkcd</span>]]</span> comics on their own pages, including the comic number (with external link to xkcd), publication date, title, comic image, and title text.
| |
| | | |
− | == Sample ==
| + | Slipping out of the house in the deepest night |
| | | |
− | The following is a sample usage of this template:
| + | Wandering carelessly in the the city streets |
− | {{sandbox
| + | |
− | | number = 16
| + | so what is the purpose of my living? |
− | | date = October 4, 2005
| + | |
− | | title = Monty Python -- Enough
| + | I just talked with a stray cat about what I had thought |
− | | 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.
| + | But the cat, not replying with anything |
− | | transcript= 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.
| + | |
− | }}
| + | Just merely looked down upon me with his thorny eyes |
| + | |
| + | After drinking up the C0FFEE that I'd never drink |
| + | |
| + | And looking up to the sky, which was cloudy |
| + | |
| + | Now I do not know what I am able to do |
| + | |
| + | Or care of my situation |
| + | |
| + | and that is why I've been singing and shouting for so long |
| + | |
| + | Ꮖ̦Ꮃ̣ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ |
| + | |
| + | Still I yell without yet understanding myself at all |
| + | |
| + | Ꮖ̦Ꮃ̣ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ |
| + | |
| + | Are U able to be satisfied with what U already have |
| + | |
| + | Ꮖ̦Ꮃ̣ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ |
| + | |
| + | Breaking rules, breaking laws— |
| + | |
| + | In that case, what is that making any changes to U? |
| + | |
| + | Now whoever it is; |
| + | |
| + | I just open my heart to him |
| + | |
| + | ⍰⍰⍰⍰⍰⍰⍰⍰⍰⍰ |
| + | |
| + | Punish all the bad; in support of the justice |
| + | |
| + | ⍰⍰⍰⍰⍰⍰⍰⍰⍰⍰ |
| + | |
| + | Just relieving the stress; under armor of justice |
| + | |
| + | ⍰⍰⍰⍰⍰⍰⍰⍰⍰⍰ |
| + | |
| + | Such stupid behavior that we didnt notice, when others did stop in the way Ah |
| + | |
| + | Ah, this song hsant got any sense |
| + | |
| + | This song has never got any sense |
| + | |
| + | This song hasnt it had any sin |
| + | |
| + | This song has never had any sin |
| + | |
| + | ⍰⍰⍰⍰ hsant got any sense |
| + | |
| + | ⍰⍰⍰⍰ has never got any sense |
| + | |
| + | ⍰⍰⍰⍰ hasnt it had any sin |
| + | |
| + | This song has got a sense of . . . |
| + | |
| + | ⍰⍰⍰⍰ |
| + | |
| + | It was not until then that I realise |
| + | |
| + | That what I did experience was only hypocrisy |
| + | |
| + | And the value of living is what on Earth? |
| + | |
| + | The stray cat has suffocated deep under the water |
| + | |
| + | I threw away that C0FFEE cup that's emptied |
| + | |
| + | And looked to the sky covered by the darkness |
| + | |
| + | Now I do not know what I have been doing |
| + | |
| + | What happened in my surroundings |
| + | |
| + | Still yet I've never ever known anything |
| + | |
| + | After that U did laugh at me Loudly and happily |
| + | |
| + | Ꮖ̦Ꮃ̣ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ |
| + | |
| + | After that I did shove you out fiercely and angrily |
| + | |
| + | Ꮖ̦Ꮃ̣ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ |
| + | |
| + | "I'm right, U are wrong End of discussion" |
| + | |
| + | Ꮖ̦Ꮃ̣ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ |
| + | |
| + | U will now disappear Surrounded by nothingness, till I'm totally gone |
| | | |
− | == Usage ==
| + | So now it is time to look back on what U have done |
| | | |
− | <pre>{{comic
| + | Ꮖ̦Ꮃ̣ᏗᎧ̱ᎶᎶ̣Ꮗ̗ẖᏤẖ |
− | | number =
| |
− | | date =
| |
− | | title =
| |
− | | before =
| |
− | | image =
| |
− | | custom =
| |
− | | imagesize =
| |
− | | titletext =
| |
− | | transcript=
| |
− | }}</pre>
| |
| | | |
− | === Notes ===
| + | Now lets laugh now lets mock now lets sneer now lets envy |
| | | |
− | * 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:
| + | Even I, even U, and whoever, and all of them |
| | | |
− | <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>
| |
| | | |
− | [[Category:Templates]]
| + | now lets rage now lets rave now lets rant now lets rest till were finally rotting away so |
− | </noinclude>
| |