Welcome to Wars Wiki!
Welcome to Wars Wiki. Please log in or create an account to make changes.

Editing Template:ArchiveBox/doc

From Wars Wiki
Jump to navigationJump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
==Usage==
==Usage==
This template creates a list of a page's archives. This template has four options. At the moment each option supports up to sixteen archive links.
This templates creates a list of a pages archives. This template has four options. At the moment each option supports up to sixteen archive links.


#'''User'''
#<b>User</b>
#*'''<nowiki>{{Archives|User|</nowiki>{{BI|Archive 1}}|{{BI|Archive 2}}|{{BI|Archive 3}}|'''...'''|'''...'''|{{BI|Archive 16}}<nowiki>}}</nowiki>'''
#*<b><nowiki>{{Archives|User|</nowiki></b><i>Archive 1</i><b>|</b><i>Archive 2</i><b>|</b><i>Archive 3</i><b>|</b>...<b>|</b>...<b>|</b><i>Archive 16</i><b><nowiki>}}</nowiki></b>
#*This option will automatically create the proper links. Only the names of the archives need to be provided.
#*This option will automatically create the proper links. Only the names of the archives need to be provided.
#*Here is an example: <small>'''<nowiki>{{Archives|User|</nowiki>{{BI|Archive T1}}|{{BI|Archive M08}}|{{BI|Archive J08}}<nowiki>}}</nowiki>'''</small>
#*Here is an example: <small><b><nowiki>{{Archives|User|</nowiki></b><i>Archive T1</i><b>|</b><i>Archive M08</i><b>|</b><i>Archive J08</i><b><nowiki>}}</nowiki></b></small>
#'''User2'''
#<b>User2</b>
#*'''<nowiki>{{Archives|User2|</nowiki>{{BI|Archive 1}}|{{BI|Archive 1 Name}}|{{BI|Archive 2}}|{{BI|Archive 2 Name}}|'''...'''|'''...'''|{{BI|Archive 16}}|{{BI|Archive 16 Name}}<nowiki>}}</nowiki>'''
#*<b><nowiki>{{Archives|User2|</nowiki></b><i>Archive 1</i><b>|</b><i>Archive 1 Name</i><b>|</b><i>Archive 2</i><b>|</b><i>Archive 2 Name</i><b>|</b>...<b>|</b>...<b>|</b><i>Archive 16</i><b>|</b><i>Archive 16 Name</i><b><nowiki>}}</nowiki></b>
#*This option does the same as the previous except that it allows a custom name for the links.
#*This option does the same as the previous except that it allows a custom name for the links.
#*Here is an example: <small>'''<nowiki>{{Archives|User2|</nowiki>{{BI|Archive_1}}|{{BI|Timeline Talk}}|{{BI|Archive_2}}|{{BI|Talk Archive One}}|{{BI|Archive_3}}|{{BI|Talk Archive Two}}|{{BI|Archive_4}}|{{BI|Talk Archive Three}}<nowiki>}}</nowiki>'''</small>
#*Here is an example: <small><b><nowiki>{{Archives|User2|</nowiki></b><i>Archive_1</i><b>|</b><i>Timeline Talk</i><b>|</b><i>Archive_2</i><b>|</b><i>Talk Archive One</i><b>|</b><i>Archive_3</i><b>|</b><i>Talk Archive Two</i><b>|</b><i>Archive_4</i><b>|</b><i>Talk Archive Three</i><b><nowiki>}}</nowiki></b></small>
#'''Talk'''
#<b>Talk</b>
#*'''<nowiki>{{Archives|Talk|</nowiki>{{BI|Archive 1}}|{{BI|Archive 1 Name}}|{{BI|Archive 2}}|{{BI|Archive 2 Name}}|'''...'''|'''...'''|{{BI|Archive 16}}|{{BI|Archive 16 Name}}<nowiki>}}</nowiki>'''
#*<b><nowiki>{{Archives|Talk|</nowiki></b><i>Archive 1</i><b>|</b><i>Archive 1 Name</i><b>|</b><i>Archive 2</i><b>|</b><i>Archive 2 Name</i><b>|</b>...<b>|</b>...<b>|</b><i>Archive 16</i><b>|</b><i>Archive 16 Name</i><b><nowiki>}}</nowiki></b>
#*This option does the same as the previous except that it is for archives in the "Talk" namespace.
#*This option does the same as the previous except that it is for archives in the "Talk" namespace.
#*Here is an example: <small>'''<nowiki>{{Archives|Talk|</nowiki>{{BI|Archive06}}|{{BI|Archive, 2006}}|{{BI|Archive07}}|{{BI|Archive, 2007}}<nowiki>}}</nowiki>'''</small>
#*Here is an example: <small><b><nowiki>{{Archives|Talk|</nowiki></b><i>Archive06</i><b>|</b><i>Archive, 2006</i><b>|</b><i>Archive07</i><b>|</b><i>Archive, 2007</i><b><nowiki>}}</nowiki></b></small>
#'''Other'''
#<b>Other</b>
#*'''<nowiki>{{Archives|Other|</nowiki>{{BI|Archive 1 Full Name}}|{{BI|Archive 1 Name}}|{{BI|Archive 2 Full Name}}|{{BI|Archive 2 Name}}|'''...'''|'''...'''|{{BI|Archive 16 Full Name}}|{{BI|Archive 16 Name}}<nowiki>}}</nowiki>'''
#*<b><nowiki>{{Archives|Other|</nowiki></b><i>Archive 1 Full Name</i><b>|</b><i>Archive 1 Name</i><b>|</b><i>Archive 2 Full Name</i><b>|</b><i>Archive 2 Name</i><b>|</b>...<b>|</b>...<b>|</b><i>Archive 16 Full Name</i><b>|</b><i>Archive 16 Name</i><b><nowiki>}}</nowiki></b>
#*This option is technical. It gives you exactly what you want. Nothing is automatic. It must be done manually. This option is intended for archives that are not on user talk pages. This is useful for archives that are not a subpage of the current page. So the entire path must be entered.
#*This option is technical. I gives you exactly what you want. Nothing is automatic. It must be done manually. This option is intended for archives that are not on user talk pages. This is useful for archives that are not a subpage of the current page. So the entire path must be entered.
#*Here is an example: <small>'''<nowiki>{{Archives|Other|</nowiki>{{BI|Talk:Main Page/Archive06}}|{{BI|Archive, 2006}}|{{BI|Talk:Main Page/Archive07}}|{{BI|Archive, 2007}}<nowiki>}}</nowiki>'''</small>
#*Here is an example: <small><b><nowiki>{{Archives|Other|</nowiki></b><i>Talk:Main Page/Archive06</i><b>|</b><i>Archive, 2006</i><b>|</b><i>Talk:Main Page/Archive07</i><b>|</b><i>Archive, 2007</i><b><nowiki>}}</nowiki></b></small>


<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>
Please note that all contributions to Wars Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see Wars Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)
Preview page with this template

  [] · [[]] · [[|]] · {{}} · · ~ | ° &nbsp; · ± × ÷ ² ³ ½ · §
[[Category:]] · [[:File:]] · <code></code> · <nowiki></nowiki> <code><nowiki></nowiki></code> · <includeonly></includeonly> · <noinclude></noinclude> · #REDIRECT[[]] · {{DEFAULTSORT:}}

Template used on this page: