Difference between revisions of "User:Yfmcpxpj"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(This site: Add links to config pages.)
(Reference: Add style templates, links to templates.)
Line 357: Line 357:
 
! colspan="3" | Special links
 
! colspan="3" | Special links
 
|-
 
|-
| Link to a MediaWiki page
+
| Link to a '''MediaWiki''' page
 
| <code><nowiki>[[mw:MediaWiki]]</nowiki></code>
 
| <code><nowiki>[[mw:MediaWiki]]</nowiki></code>
 
| [[mw:MediaWiki]]
 
| [[mw:MediaWiki]]
 
|-
 
|-
| Link to a template, formatted in wiki syntax
+
| Link to a '''template''', formatted in wiki syntax
| <code><nowiki>{{tl|tl}}</nowiki></code>
+
| <code><nowiki>{{</nowiki>[[Template:tl|tl]]|tl}}</code>
<code><nowiki>{{template|template}}</nowiki></code>
+
<code><nowiki>{{</nowiki>[[Template:template|template]]|template}}</code>
 
| {{tl|tl}}
 
| {{tl|tl}}
 
{{template|template}}
 
{{template|template}}
 
|-
 
|-
| Citation needed
+
| Link to a comic's '''explanation'''
| <code><nowiki>{{Citation needed}}</nowiki></code>
+
| <code><nowiki>{{</nowiki>[[Template:explain|explain]]|1}}</code>
| {{Citation needed}}
+
<code><nowiki>{{</nowiki>[[Template:explain|explain]]|1|Barrel - Part 1}}</code>
|-
 
| Link to a comic's explanation
 
| <code><nowiki>{{explain|1}}</nowiki></code>
 
<code><nowiki>{{explain|1|Barrel - Part 1}}</nowiki></code>
 
 
| {{explain|1}}
 
| {{explain|1}}
 
{{explain|1|Barrel - Part 1}}
 
{{explain|1|Barrel - Part 1}}
 
|-
 
|-
| Link to the most recent comic's explanation
+
| Link to the '''most recent''' comic's explanation
| <code><nowiki>{{most recent comic}}</nowiki></code>
+
| <code>{{tl|most recent comic}}</code>
<code><nowiki>[[{{LATESTCOMIC}}]]</nowiki></code>
+
<code><nowiki>[[</nowiki>{{tl|LATESTCOMIC}}]]</code>
 
| {{most recent comic}}
 
| {{most recent comic}}
 
[[{{LATESTCOMIC}}]]
 
[[{{LATESTCOMIC}}]]
 
|-
 
|-
| Link to a diff
+
| Link to a '''diff'''
| <pre>{{diff|1}}
+
| <code><nowiki>{{</nowiki>[[Template:diff|diff]]|1}}</code><br/><code><nowiki>{{</nowiki>[[Template:diff|diff]]|1|first diff}}</code><br/><code><nowiki>{{</nowiki>[[Template:diff|diff]]|1|first diff – getting started|Getting started}}</code>
{{diff|1|first diff}}
 
{{diff|1|first diff – getting started|Getting started}}</pre>
 
 
| {{diff|1}}<br/>{{diff|1|first diff}}<br/>{{diff|1|first diff – getting started|Getting started}}
 
| {{diff|1}}<br/>{{diff|1|first diff}}<br/>{{diff|1|first diff – getting started|Getting started}}
 
|-
 
|-
| Plain link
+
| '''Plain link'''
| <code><nowiki>{{link|https://example.com|example link}}</nowiki></code>
+
| <code><nowiki>{{</nowiki>[[Template:link|link]]<nowiki>|https://example.com|example link}}</nowiki></code>
 
| {{link|https://example.com|example link}}
 
| {{link|https://example.com|example link}}
 
|-
 
|-
| Link to a comic on {{int:xkcd-com}}
+
| Link to a '''comic''' on {{int:xkcd-com}}
| <code><nowiki>{{xkcd|1}}</nowiki></code>
+
| <code><nowiki>{{</nowiki>[[Template:xkcd|xkcd]]|1}}</code>
<code><nowiki>{{xkcd|1|Barrel - Part 1}}</nowiki></code>
+
<code><nowiki>{{</nowiki>[[Template:xkcd|xkcd]]|1|Barrel - Part 1}}</code>
 
| {{xkcd|1}}
 
| {{xkcd|1}}
 
{{xkcd|1|Barrel - Part 1}}
 
{{xkcd|1|Barrel - Part 1}}
 
|-
 
|-
| Link to a comic transcript on {{int:xkcd-com}}
+
| Link to a comic '''transcript''' on {{int:xkcd-com}}
| <code><nowiki>{{transcript}}</nowiki></code>
+
| <code>{{tl|transcript}}</code>
<code><nowiki>{{transcript|1}}</nowiki></code>
+
<code><nowiki>{{</nowiki>[[Template:transcript|transcript]]|1}}</code>
 
| {{transcript}}
 
| {{transcript}}
 
{{transcript|1}}
 
{{transcript|1}}
 
|-
 
|-
| Link to a ''what if?'' article on {{int:xkcd-com}}
+
| Link to a '''''what if?''''' article on {{int:xkcd-com}}
| <code><nowiki>{{what if|1}}</nowiki></code>
+
| <code><nowiki>{{</nowiki>[[Template:what if|what if]]|1}}</code>
<code><nowiki>{{what if|1|Relativistic Baseball}}</nowiki></code>
+
<code><nowiki>{{</nowiki>[[Template:what if|what if]]|1|Relativistic Baseball}}</code>
 
| {{what if|1}}
 
| {{what if|1}}
 
{{what if|1|Relativistic Baseball}}
 
{{what if|1|Relativistic Baseball}}
 
|-
 
|-
| Link to a Wikipedia article
+
| Link to a '''Wikipedia''' article
| <pre>{{w}}
+
| <code>{{tl|w}}</code><br/><code><nowiki>{{</nowiki>[[Template:w|w]]|xkcd}}</code><br/><code><nowiki>{{</nowiki>[[Template:w|w]]|xkcd|xkcd on Wikipedia}}</code>
{{w|xkcd}}
 
{{w|xkcd|xkcd on Wikipedia}}</pre>
 
 
| {{w}}<br/>{{w|xkcd}}<br/>{{w|xkcd|xkcd on Wikipedia}}
 
| {{w}}<br/>{{w|xkcd}}<br/>{{w|xkcd|xkcd on Wikipedia}}
 
|-
 
|-
| Link to a Wiktionary article
+
| Link to a '''Wiktionary''' definition
| <code><nowiki>{{Wiktionary|malamanteau}}</nowiki></code>
+
| <code><nowiki>{{</nowiki>[[Template:Wiktionary|Wiktionary]]|malamanteau}}</code>
<code><nowiki>{{Wiktionary|malamanteau|malamanteau on Wiktionary}}</nowiki></code>
+
<code><nowiki>{{</nowiki>[[Template:Wiktionary|Wiktionary]]|malamanteau|malamanteau on Wiktionary}}</code>
 
| {{Wiktionary|malamanteau}}<br/>{{Wiktionary|malamanteau|malamanteau on Wiktionary}}
 
| {{Wiktionary|malamanteau}}<br/>{{Wiktionary|malamanteau|malamanteau on Wiktionary}}
 
|-
 
|-
| Link to a RationalWiki article
+
| Link to a '''RationalWiki''' article
| <code><nowiki>{{rw|xkcd}}</nowiki></code>
+
| <code><nowiki>{{</nowiki>[[Template:rw|rw]]|xkcd}}</code>
<code><nowiki>{{rw|xkcd|xkcd on RationalWiki}}</nowiki></code>
+
<code><nowiki>{{</nowiki>[[Template:rw|rw]]|xkcd|xkcd on RationalWiki}}</code>
 
| {{rw|xkcd}}
 
| {{rw|xkcd}}
 
{{rw|xkcd|xkcd on RationalWiki}}
 
{{rw|xkcd|xkcd on RationalWiki}}
 
|-
 
|-
| Link to a TV Tropes article
+
| Link to a '''TV Tropes''' article
| <code><nowiki>{{tvtropes|AssPull}}</nowiki></code>
+
| <code><nowiki>{{</nowiki>[[Template:tvtropes|tvtropes]]|AssPull}}</code>
<code><nowiki>{{tvtropes|AssPull|Ass Pull on TV Tropes}}</nowiki></code>
+
<code><nowiki>{{</nowiki>[[Template:tvtropes|tvtropes]]|AssPull|Ass Pull on TV Tropes}}</code>
 
| {{tvtropes|AssPull}}
 
| {{tvtropes|AssPull}}
 
{{tvtropes|AssPull|Ass Pull on TV Tropes}}
 
{{tvtropes|AssPull|Ass Pull on TV Tropes}}
 
|-
 
|-
| Link to an Urban Dictionary definition (currently broken)
+
| Link to an '''Urban Dictionary''' definition (currently broken)
| <pre>{{u}}
+
| <code>{{tl|u}}</code><br/><code><nowiki>{{</nowiki>[[Template:u|u]]|xkcd}}</code><br/><code><nowiki>{{</nowiki>[[Template:u|u]]|xkcd|xkcd on Urban Dictionary}}</code>
{{u|xkcd}}
 
{{u|xkcd|xkcd on Urban Dictionary}}</pre>
 
 
| {{u}}<br/>{{u|xkcd}}<br/>{{u|xkcd|xkcd on Urban Dictionary}}
 
| {{u}}<br/>{{u|xkcd}}<br/>{{u|xkcd|xkcd on Urban Dictionary}}
 
|-
 
|-
| Link to a Google search
+
| Link to a '''Google''' search
| <code><nowiki>{{Lookup|xkcd}}</nowiki></code>
+
| <code><nowiki>{{</nowiki>[[Template:Lookup|Lookup]]|xkcd}}</code>
 
| {{Lookup|xkcd}}
 
| {{Lookup|xkcd}}
 +
|}
 +
 +
== Annotations ==
 +
 +
{| class="wikitable"
 +
|-
 +
! Description !! Code !! Result
 +
|-
 +
|-
 +
| Citation needed
 +
| <code>{{tl|Citation needed}}</code>
 +
| {{Citation needed}}
 +
|-
 +
| Dubious
 +
| <code>{{tl|Dubious}}</code>
 +
| {{Dubious}}
 +
|-
 +
| NSFW
 +
| <code>{{tl|NSFW}}</code>
 +
<code><nowiki>{{</nowiki>[[Template:NSFW|NSFW]]|reason}}</code>
 +
| {{NSFW}}
 +
{{NSFW|reason}}
 +
|-
 +
| Note
 +
| <code><nowiki>{{</nowiki>[[Template:note|note]]|some note}}</code>
 +
| {{note|some note}}
 +
|-
 +
| Quote
 +
| <code><nowiki>{{</nowiki>[[Template:Quote|Quote]]|text}}</code><br/><code><nowiki>{{</nowiki>[[Template:Quote|Quote]]|text|author}}</code><br/><code><nowiki>{{</nowiki>[[Template:Quote|Quote]]|text|author|source}}</code>
 +
| {{Quote|text}}{{Quote|text|author}}{{Quote|text|author|source}}
 +
|-
 +
| Byline
 +
| <code><nowiki>{{</nowiki>[[Template:byline|byline]]|author 1}}</code><br/><code><nowiki>{{</nowiki>[[Template:byline|byline]]|author 1|author 2}}</code><br/><code><nowiki>{{</nowiki>[[Template:byline|byline]]|author 1|author 2|author 3}}</code><br/><code><nowiki>{{</nowiki>[[Template:byline|byline]]|author 1|author 2|author 3|author 4}}</code><br/><code><nowiki>{{</nowiki>[[Template:byline|byline]]|author 1|author 2|author 3|author 4|author 5}}</code>
 +
| {{byline|author 1}}<br/>{{byline|author 1|author 2}}<br/>{{byline|author 1|author 2|author 3}}<br/>{{byline|author 1|author 2|author 3|author 4}}<br/>{{byline|author 1|author 2|author 3|author 4|author 5}}
 +
|-
 +
| Done
 +
| <code>{{tl|done}}</code>
 +
| {{done}}
 +
|-
 +
| Outdent
 +
| <code><nowiki>::::::::::::::::::::indented text</nowiki></code><br/><code><nowiki>{{</nowiki>[[Template:outdent|outdent]]<nowiki>|::::::::::::::::::::}} outdented text</nowiki></code>
 +
|
 +
::::::::::::::::::::indented text
 +
{{outdent|::::::::::::::::::::}} outdented text
 +
|}
 +
 +
== Styles ==
 +
 +
{| class="wikitable"
 +
|-
 +
! Description !! Code !! Result
 +
|-
 +
| Color
 +
| <code><nowiki>{{</nowiki>[[Template:Color|Color]]|blue|some blue text}}</code>
 +
| {{Color|blue|some blue text}}
 +
|-
 +
| Hover text
 +
| <code><nowiki>{{</nowiki>[[Template:Hov|Hov]]|hover text|some text}}</code>
 +
| {{Hov|hover text|some text}}
 +
|-
 +
| No wrap
 +
| <code><nowiki>{{</nowiki>[[Template:nowrap|nowrap]]|long text}}</code>
 +
| {{nowrap|long text}}
 
|}
 
|}
  

Revision as of 06:15, 19 October 2020

This site

Property Code Value Special Pages
Name {{SITENAME}} explain xkcd
Domain {{SERVERNAME}} www.explainxkcd.com
URL {{SERVER}} //www.explainxkcd.com
Version {{CURRENTVERSION}} 1.30.0
Statistics
Messages
Pages
Edits

Unformatted

{{NUMBEROFEDITS}}
{{NUMBEROFEDITS:R}}
340,035

340035

Pages

Unformatted

{{NUMBEROFPAGES}}
{{NUMBEROFPAGES:R}}
24,325

24325

Files

Unformatted

{{NUMBEROFFILES}}
{{NUMBEROFFILES:R}}
8,800

8800

Categories
Templates
Redirects
Users
Users

Unformatted

{{NUMBEROFUSERS}}
{{NUMBEROFUSERS:R}}
129,766

129766

Bureaucrats

Unformatted

{{NUMBERINGROUP:bureaucrat}}
{{NUMBERINGROUP:bureaucrat|R}}
2

2

{{Special:ListUsers/bureaucrat}}

Administrators

Unformatted

{{NUMBEROFADMINS}}
{{NUMBEROFADMINS:R}}
{{NUMBERINGROUP:sysop}}
{{NUMBERINGROUP:sysop|R}}
13
13
13
13

{{Special:ListUsers/sysop}}

Bots

Unformatted

{{NUMBERINGROUP:bot}}
{{NUMBERINGROUP:bot|R}}
3

3

{{Special:ListUsers/bot}}

Active users

Unformatted

{{NUMBEROFACTIVEUSERS}}
{{NUMBEROFACTIVEUSERS:R}}
119

119

This page

Subpages

Code Subpages
{{Special:PrefixIndex/{{FULLPAGENAME}}/}}

Statistics

Property Code Value
ID {{REVISIONID}} 200189
User {{REVISIONUSER}} Yfmcpxpj
Size (bytes) {{REVISIONSIZE}} 22173
Timestamp {{REVISIONTIMESTAMP}} 20201019061504
Year {{REVISIONYEAR}} 2020
Month, zero-padded

Unpadded

{{REVISIONMONTH}}
{{REVISIONMONTH1}}
10

10

Date, zero-padded

Unpadded

{{REVISIONDAY2}}
{{REVISIONDAY}}
19

19

This user

Reference

Links

Description Code Result
Internal links
Enclose the page name between double square brackets. [[1]] 1
Provide an optional alternate title after a pipe. [[1|title]] Barrel - Part 1
To prevent category inclusion, prefix with a colon. [[:Category:Comics]] Category:Comics
To hide the namespace, append a pipe. [[:Category:Comics|]] Comics
External links to internal pages
Bare URL, optionally specifying the page name as the title parameter.
https://www.explainxkcd.com/wiki/index.php/1
https://www.explainxkcd.com/wiki/index.php/1?redirect=no
https://www.explainxkcd.com/wiki/index.php?title=1
https://www.explainxkcd.com/wiki/index.php?title=1&redirect=no
https://www.explainxkcd.com/wiki/index.php/1
https://www.explainxkcd.com/wiki/index.php/1?redirect=no
https://www.explainxkcd.com/wiki/index.php?title=1
https://www.explainxkcd.com/wiki/index.php?title=1&redirect=no
Enclose a protocol-relative or canonical URL between square brackets,

and provide an optional alternate title after a space.

[//www.explainxkcd.com/wiki/index.php/1 Barrel - Part 1]
[https://www.explainxkcd.com/wiki/index.php/1 Barrel - Part 1]
Barrel - Part 1

Barrel - Part 1

Use the canonicalurl function, bare, or between square brackets

with an optional alternate title, with optional query parameters.

{{canonicalurl:1}}
{{canonicalurl:1|redirect=no}}
[{{canonicalurl:1}} Barrel - Part 1]
https://www.explainxkcd.com/wiki/index.php/1
https://www.explainxkcd.com/wiki/index.php?title=1&redirect=no
Barrel - Part 1
Use the fullurl function in a protocol-relative URL,

with optional query parameters.

[{{fullurl:1}} Barrel - Part 1]

[{{fullurl:1|redirect=no}} 1]

Barrel - Part 1

1

External links to broken internal pages
What if internal links are broken to pages ending with question marks or with special characters in the name? (Indeed, what if?) Instead, the page simply says, "No input file specified." In that case, you can use specific forms of external links to reach the page.
Specify the page name as the title parameter in a link. [https://www.explainxkcd.com/wiki/index.php?title=what_if? what if?] what if?
Use the canonicalurl function with a query parameter such as redirect=no. [{{canonicalurl:what if?|redirect=no}} what if?] what if?
Use the fullurl function with a query parameter

such as redirect=no in a protocol-relative URL.

[{{fullurl:what if?|redirect=no}} what if?] what if?
Special links
Link to a MediaWiki page [[mw:MediaWiki]] mw:MediaWiki
Link to a template, formatted in wiki syntax {{tl|tl}}

{{template|template}}

{{tl}}

{{template}}

Link to a comic's explanation {{explain|1}}

{{explain|1|Barrel - Part 1}}

xkcd 1

Barrel - Part 1

Link to the most recent comic's explanation {{most recent comic}}

[[{{LATESTCOMIC}}]]

2920

2920

Link to a diff {{diff|1}}
{{diff|1|first diff}}
{{diff|1|first diff – getting started|Getting started}}
[1]
first diff
first diff – getting started
Plain link {{link|https://example.com|example link}} example link
Link to a comic on xkcd.com {{xkcd|1}}

{{xkcd|1|Barrel - Part 1}}

xkcd 1

Barrel - Part 1

Link to a comic transcript on xkcd.com {{transcript}}

{{transcript|1}}

official transcript

official transcript

Link to a what if? article on xkcd.com {{what if|1}}

{{what if|1|Relativistic Baseball}}

what if 1

Relativistic Baseball

Link to a Wikipedia article {{w}}
{{w|xkcd}}
{{w|xkcd|xkcd on Wikipedia}}
Yfmcpxpj
xkcd
xkcd on Wikipedia
Link to a Wiktionary definition {{Wiktionary|malamanteau}}

{{Wiktionary|malamanteau|malamanteau on Wiktionary}}

malamanteau
malamanteau on Wiktionary
Link to a RationalWiki article {{rw|xkcd}}

{{rw|xkcd|xkcd on RationalWiki}}

xkcd

xkcd on RationalWiki

Link to a TV Tropes article {{tvtropes|AssPull}}

{{tvtropes|AssPull|Ass Pull on TV Tropes}}

AssPull

Ass Pull on TV Tropes

Link to an Urban Dictionary definition (currently broken) {{u}}
{{u|xkcd}}
{{u|xkcd|xkcd on Urban Dictionary}}
Yfmcpxpj at Urbandict
xkcd
xkcd on Urban Dictionary
Link to a Google search {{Lookup|xkcd}} [Search]

Annotations

Description Code Result
Citation needed {{Citation needed}} [citation needed]
Dubious {{Dubious}} [dubious]
NSFW {{NSFW}}

{{NSFW|reason}}

[link potentially NSFW]

[link potentially NSFW]

Note {{note|some note}}
Note some note
Quote {{Quote|text}}
{{Quote|text|author}}
{{Quote|text|author|source}}
text
text
—author
text
—author, source
Byline {{byline|author 1}}
{{byline|author 1|author 2}}
{{byline|author 1|author 2|author 3}}
{{byline|author 1|author 2|author 3|author 4}}
{{byline|author 1|author 2|author 3|author 4|author 5}}
Authored by author 1.
Authored by author 1, with additional contributions by author 2.
Authored by author 1, with additional contributions by author 2, and author 3.
Authored by author 1, with additional contributions by author 2, author 3, and author 4.
Authored by author 1, with additional contributions by author 2, author 3, author 4, and author 5.
Done {{done}}  Done
Outdent ::::::::::::::::::::indented text
{{outdent|::::::::::::::::::::}} outdented text
indented text

──────────────────────────────────────────────────────────────────────────────────────────────────── outdented text

Styles

Description Code Result
Color {{Color|blue|some blue text}} some blue text
Hover text {{Hov|hover text|some text}} some text
No wrap {{nowrap|long text}} long text

Code

Code Result
Some <code>[https://example.com example markup]</code> code Some example markup code
Some <nowiki>[https://example.com example markup]</nowiki> code Some [https://example.com example markup] code
Some <code><nowiki>[https://example.com example markup]</nowiki></code> code Some [https://example.com example markup] code
Some <pre>[https://example.com example markup]</pre> code Some
[https://example.com example markup]
code
Some <source>[https://example.com example markup]</source> code Some
[https://example.com example markup]
code

Magic words

Description Code Result
Full name of the current page.

Encoded for external links.

{{FULLPAGENAME}}
{{FULLPAGENAMEE}}
User:Yfmcpxpj

User:Yfmcpxpj

Namespace of the current page.

Encoded for external links.

{{NAMESPACE}}
{{NAMESPACEE}}
User

User

Talk namespace of the current page.

Encoded for external links.

{{TALKSPACE}}
{{TALKSPACEE}}
User talk

User_talk

The current page, including parent path.

Encoded for external links.

{{PAGENAME}}
{{PAGENAMEE}}
Yfmcpxpj

Yfmcpxpj

The current page, excluding parent path.

Encoded for external links.

{{SUBPAGENAME}}
{{SUBPAGENAMEE}}
Yfmcpxpj

Yfmcpxpj

Talk page of the current page.

Encoded for external links.

{{TALKPAGENAME}}
{{TALKPAGENAMEE}}
User talk:Yfmcpxpj

User_talk:Yfmcpxpj

Hide the table of contents. __NOTOC__
Force the table of contents in its normal position. __FORCETOC__
Display the table of contents at the current position. __TOC__
Current timestamp, UTC.

Server.

{{CURRENTTIMESTAMP}}
{{LOCALTIMESTAMP}}
20240416111705

20240416111705

Current year, UTC.

Server.

{{CURRENTYEAR}}
{{LOCALYEAR}}
2024

2024

Current month, zero-padded, UTC.
Unpadded, UTC.
Abbreviation, UTC.
Name, UTC.
Zero-padded, server.
Unpadded, server.
Abbreviation, server.
Name, server.
{{CURRENTMONTH}}
{{CURRENTMONTH1}}
{{CURRENTMONTHABBREV}}
{{CURRENTMONTHNAME}}
{{LOCALMONTH}}
{{LOCALMONTH1}}
{{LOCALMONTHABBREV}}
{{LOCALMONTHNAME}}
04
4
Apr
April
04
4
Apr
April
Current week, UTC.

Server.

{{CURRENTWEEK}}
{{LOCALWEEK}}
16

16

Current date, zero-padded, UTC.
Unpadded, UTC.
Day of the week number, UTC.
Day of the week name, UTC.
Zero-padded, server.
Unpadded, server.
Day of week number, server.
Day of week name, server.
{{CURRENTDAY2}}
{{CURRENTDAY}}
{{CURRENTDOW}}
{{CURRENTDAYNAME}}
{{LOCALDAY2}}
{{LOCALDAY}}
{{LOCALDOW}}
{{LOCALDAYNAME}}
16
16
2
Tuesday
16
16
2
Tuesday
Current time (24-hour), UTC.
Current hour, zero-padded, UTC.
Server time.
Server hour.
{{CURRENTTIME}}
{{CURRENTHOUR}}
{{LOCALTIME}}
{{LOCALHOUR}}
11:17
11
11:17
11

Documentation

Other