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.
Contents |
[edit] General magic
[edit] Templatre doc syntax
From Wikipedia:Template documentation
[edit] Template page
[--last line of template code--]<noinclude>
{{Documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
[edit] Doc subpage
{{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>
[edit] dab templates
{{otheruses4|1=this description|2=other description|3=other page}}
[edit] Table syntax
- Wiki text
{| class="wikitable"
|+ caption
! head1
! head2
! head3
|-
| R1 C1
| R1 C2
| R1 C3
|-
| R2 C1
| R2 C2
| R2 C3
|-
| R3 C1
| R3 C2
| R3 C3
|}
- Renders as
| head1 | head2 | head3 |
|---|---|---|
| R1 C1 | R1 C2 | R1 C3 |
| R2 C1 | R2 C2 | R2 C3 |
| R3 C1 | R3 C2 | R3 C3 |
[edit] Talk page auto archive magic
Archiver instructions • Indexer 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
|archiveheader = {{atnhead}}
|maxarchivesize = 50K
|counter = 5
|algo = old(30d)
|archive = Wikipedia talk:CHANGEME/Archive %(counter)d
}}
{{AutoArchivingNotice
|small=yes
|age=30
|index=./Archive index
|bot=MiszaBot II
}}
{{archives
|small=yes
|index=/Archive index
}}
Initialize the index subpage (redlink) with the following:
<!-- HBC Archive Indexerbot can blank this -->

