User:DragonHawk/QuickRef

From Wikipedia, the free encyclopedia

This is page is essentially a combination bookmark file/post-it note. It's a list of stuff I can never remember or find and have to hunt for, every time I need it.

General magic[edit]

Templatre doc syntax[edit]

From Wikipedia:Template documentation

Template page[edit]

[--last line of template code--]<noinclude>
 {{Documentation}}
 <!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 </noinclude>

Doc subpage[edit]

{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
==Usage==
Blah blah blah docs here.

<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->

</includeonly>

dab templates[edit]

{{otheruses4|1=this description|2=other description|3=other page}}

Table syntax[edit]

Wiki text
{| class="wikitable sortable" 
|+ caption
! head1
! head2
! head3
|-
| R1 C1
| R1 C2
| R1 C3
|-
| R2 C1
| R2 C2
| R2 C3
|-
| R3 C1
| R3 C2
| R3 C3
|}
Renders as
caption
head1 head2 head3
R1 C1 R1 C2 R1 C3
R2 C1 R2 C2 R2 C3
R3 C1 R3 C2 R3 C3

Talk page auto archive magic[edit]

Archiver instructionsIndexer instructions

Place the following in the intro section of the talk page. If TOC needs to be explicitly placed, place it after any small boxes.


{| class="messagebox small-talk" style="width: {{{box-width|238px}}}"
|Note: It may take 24 hours or longer before archives and index become active.
|}

{{User:HBC Archive Indexerbot/OptIn
|target=Wikipedia talk:CHANGEME/Archive index
|mask=Wikipedia talk:CHANGEME/Archive <#>
|leading_zeros=0
|indexhere=yes
}}

{{User:MiszaBot/config
| algo                = old(30d)
| archive             = Wikipedia talk:CHANGEME/Archive %(counter)d
| counter             = 1
| maxarchivesize      = 150K
| archiveheader       = {{Automatic archive navigator}}
| minthreadstoarchive = 1
| minthreadsleft      = 4
}}

{{talk header|bot=lowercase sigmabot III|age=30|units=days}}

{{AutoArchivingNotice
|small = yes
|age   = 30
|index = ./Archive index
|bot   = lowercase sigmabot III
}}

{{archives
|small = yes
|index = /Archive index
}}

Initialize the index subpage (redlink) with the following:

<!-- HBC Archive Indexerbot can blank this -->
{{notice|This page will be replaced with an index the next time [[User:HBC Archive Indexerbot|]] runs.  That may take 24 hours or longer.}}