Redigerer
Mal:Arkiver/dok
Hopp til navigering
Hopp til søk
Advarsel:
Du er ikke innlogget. IP-adressen din vil bli vist offentlig om du redigerer. Hvis du
logger inn
eller
oppretter en konto
vil redigeringene dine tilskrives brukernavnet ditt, og du vil få flere andre fordeler.
Antispamsjekk.
Ikke
fyll inn dette feltet!
{{Documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> {{Uoversatt|engelsk}} The <code>{{tl|{{BASEPAGENAME}}}}</code> template may be used to add a box containing page links to archived discussions. It will automatically detect archived pages by default if they are named appropriately, eliminating the need to manually update the box each time a new archive page is created. === Usage === <pre> {{Arkiver | archivelist = /arkivliste | auto = <short|long|no> | index = /Archive index | search = <yes|no> | list = | target = | collapsible = <yes|no> | collapsed = <yes|no> | style = | title = | image = | alt = | link = | bot = | age = }} </pre> ===Parameters=== ; archivelist: Specifies a link to a subpage, such as "/archivelist" that contains the archive list. See the "Archive list" and "Additional notes" sections below for further important details. ; auto= <short|long|no>: Specifies the format of the auto-generated archive list. If left unspecified, the default is "long"; any other word (except "no") will result in "short" and "no" disables auto-detection. ; index: Adds an "Index" link in the title to a specified subpage, such as "/Archive index" that should be the subject index page for all archived discussions. [[User:HBC Archive Indexerbot|HBC Archive Indexerbot]] can automatically generate such indexes. ; list: Inline list of archives. This is not needed if the pages are named "Archive 1", "Archive 2" and so on, in which case automatic archiving works, but can be used in addition to automatic archiving if additional pages with other names are available. ; target: The title of the page (just the name, no link syntax) that threads are currently being archived to, for manual archiving. ; collapsible : If ''yes'', makes the list [[Help:Collapsing|collapsible]]. ; collapsed : If ''yes'', makes the list collapsed. ; style : An arbitrary string of CSS can be applied to the box (use with care). ; title : An alternate title, defaults to a bolded "Archives". ; image : An alternate image to be used, defaults to "<code><nowiki>Replacement filing cabinet.svg</nowiki></code>". ; link : Link for the image. This normally defaults to empty, which means no link. However, if <code>alt</code> is nonempty, it defaults to the image's file page. ; alt : Alt text for the image, for visually impaired readers. See [[WP:ALT]]. This defaults to empty. If a nonempty value is specified for <code>link</code>, <code>alt</code> should be nonempty too, and should indicate what will happen if the user clicks on the image. ==== Search ==== ; search: If ''yes'', adds a search box to the template. ; root: Specify a different base than <code>{{FULLPAGENAME}}/</code>. Use '''prefix''' if the additional of a trailing slash is not desired. ;search-break: ''Default'':no ;search-width: ''Default'':22 ;search-button-label: ''Default'': Search ==== Bot archive notice ==== ; bot : If specified, a note about automatic archiving will be shown. ; age : If specified, the archiving delay will be provided. === Archive list === By default (with no explicit parameters), the archive list presented in the box is determined automatically. If a subpage called "<code><nowiki>{{PAGENAME}}</nowiki>/archivelist</code>" exists, it will be used as the central content of the box. For an example, see [[Talk:Evolution]], which draws from [[Talk:Evolution/archivelist]]. If no archivelist subpage is detected, numbered archive subpages will be listed in long format. Such pages must be named as "/Archive #" because other naming styles will not be detected. If no subpages are found, the archivebox will contain only the "About" and "Edit" links, with the Edit link targeted at "<code><nowiki>{{PAGENAME}}</nowiki>/archivelist</code>", which can then be used to begin manually populating the list, if desired. If the "<code>auto</code>" parameter is specified, the "Edit" link is removed. The "<code>long</code>" auto format (the default) indicates "Archive 1", "Archive 2", and so on. The "<code>short</code>" auto format indicates only the archive number. See more examples below. If an archive list is specified, the name of the subpage is changed; otherwise, the behavior is the same. An archive list can also be passed in the first unnamed parameter avoiding the need for a subpage. Using "auto=no" will disable archive auto-detection. Manually specified archives will still be shown. === Additional notes === The "<code>auto</code>" and "<code>archivelist</code>" parameters are not intended to be used together. (Doing so removes the edit link, but will still use the specified archive list page if it exists.) The auto-generated archive list requires subpages to use the common naming convention. That is, "<nowiki>{{PAGENAME}}</nowiki>/Archive 1", "<nowiki>{{PAGENAME}}</nowiki>/Archive 2", and so on. The letter "A" must be capitalized, there must be a single space between the word "Archive" and the number, and there must be no leading zeros. If archive subpages do not conform to this convention, they can be [[Help:Moving a page|renamed]] to conform, or a manual list can be maintained. Specifying "<code>auto</code>" with any right-hand-side value other than "<code>long</code>" or "<code>no</code>" results in the short-format list; the use of "<code>short</code>" as the value just makes things more obvious to others. The short and long auto lists are generated by {{tl|archive list}} and {{tl|archive list long}}, respectively. They are limited to a maximum of 100 and 36 subpages, respectively. Beyond those limits, additional subpages will not be listed. In such cases, a manually generated archive list subpage would need to be created and maintained. === Examples === ; Default <code><nowiki>{{archives}}</nowiki></code> {{archives}} {{clear}} ; Short, index <code><nowiki>{{</nowiki>archives |auto= short |index= /Archive index <nowiki>}}</nowiki></code> {{archives |auto=short |index=/Archive index }} {{clear}} === See also === {{Warchivenav}} <includeonly> <!-- ADD CATEGORIES BELOW THIS LINE --> [[Kategori:Arkiveringsmaler|{{PAGENAME}}]] <!-- ADD INTERWIKIS BELOW THIS LINE --> [[en:Template:Archives]] [[fa:الگو:بایگانی]] [[ia:Patrono:Archives]] [[ja:Template:Archives3]] [[ml:ഫലകം:Archives]] [[simple:Template:Archives]] [[zh:Template:Archives]] [[fr:Template:Archives]] [[pt:Predefinição:Arquivo-índice]] [[tr:Şablon:Arşiv]] </includeonly>
Redigeringsforklaring:
Merk at alle bidrag til Wikisida.no anses som frigitt under Creative Commons Navngivelse-DelPåSammeVilkår (se
Wikisida.no:Opphavsrett
for detaljer). Om du ikke vil at ditt materiale skal kunne redigeres og distribueres fritt må du ikke lagre det her.
Du lover oss også at du har skrevet teksten selv, eller kopiert den fra en kilde i offentlig eie eller en annen fri ressurs.
Ikke lagre opphavsrettsbeskyttet materiale uten tillatelse!
Avbryt
Redigeringshjelp
(åpnes i et nytt vindu)
Forhåndsvis en side som bruker denne malen
Denne siden er medlem av 1 skjult kategori:
Kategori:Sider hvor ekspansjonsdybden er overskredet
Navigasjonsmeny
Personlige verktøy
Ikke logget inn
Brukerdiskusjon
Bidrag
Opprett konto
Logg inn
Navnerom
Mal
Diskusjon
norsk bokmål
Visninger
Les
Rediger kilde
Vis historikk
Mer
Navigasjon
Forside
Siste endringer
Tilfeldig side
Hjelp til MediaWiki
Verktøy
Lenker hit
Relaterte endringer
Spesialsider
Sideinformasjon