Wikitravel:Indice dei templates
Da Wikitravel.
Indice
Questa pagina non è ancora stata tradotta completamente dalla lingua inglese. Se puoi, terminala o riscrivila tu, eliminando il testo in lingua straniera quando hai finito. Non usare traduttori automatici! Per l'elenco completo delle altre pagine da tradurre dalla stessa lingua vedi la relativa categoria.
Nota: se non vedi il testo da tradurre potrebbe essere nascosto, fai clic su modifica per visualizzarlo.
The MediaWiki software used to run Wikitravel offers the capability to automatically generate sophisticated HTML using templates. Templates should be discussed before being created or modified. The list below shows templates that are currently available.
[Modifica sezione] Templates disponibili
Negli articoli possono essere utilizzati nei seguenti templates.
[Modifica sezione] Avvisi
Notices are short fragments of standard text that should appear on relevant pages. Most reflect an article's status. A template is used so that a standard text appears on each relevant page. This saves typing. The following notices are currently available.
[Modifica sezione] Article status
Questi avvisi vengono utilizzati per indicare article status:
| Wiki Markup | Purpose | Template Display | |
|---|---|---|---|
| {{Da cancellare}} | Indica che l'articolo è stato proposto per la sua cancellazione. L'avviso va aggiunto all'inizio dell'articolo. | ||
| {{stub}} | Indica che l'articolo è uno stub. L'avviso può essere aggiunto alla fine dell'articolo. |
| |
| {{outline}} | Indica che l'articolo è un outline. L'avviso può essere aggiunto alla fine dell'articolo. |
| |
| {{usablecity}} {{usableregion}} {{usablecountry}} {{usablephrasebook}} {{usabletopic}} {{usableitinerary}} | Indicates that a an article of the specified type is at usable status. This notice should be added to the bottom of the article just below the content. | e.g. | |
| {{guidecity}} {{guideregion}} {{guidecountry}} {{guidephrasebook}} {{guidetopic}} {{guideitinerary}} | Indicates that a an article of the specified type is at guide status. This notice should be added to the bottom of the article just below the content. | e.g. Template:Guidecity | |
| {{starnomination}} | Indicates that a an article of has been nominated for star status. This notice should be added to the bottom of the article just below the content, in place of the "guide" template. | Template:Starnomination | |
| {{starcity}} {{starregion}} {{starcountry}} {{starphrasebook}} {{startopic}} {{staritinerary}} | Indicates that a an article of the specified type is at star status. This notice should be added to the bottom of the article just below the content. | e.g. Template:Starcity |
[Modifica sezione] Chiarimento delle ambiguità
Questi template vanno utilizzati nelle pagine di chiarimento delle ambiguità:
| Sintassi | Scopo | Visualizzazione | |
|---|---|---|---|
| {{disamb}} | Indica che la pagina in visione è una pagina disambigua. Questo template va posto alla fine di tutte le pagine di chiarimento delle ambiguità. |
| |
| {{otheruses}} | Va usato nelle pagine che richiederebbero il chiarimento dell'ambiguità, ma che sono nella condizione del più famoso, come per Barcellona (che si riferirà alla citta' spagnola, e non a Barcellona Pozzo di Gotto). Deve essere posta all'inizio della pagina, e va aggiunta la pagina cui si fa riferimento. |
|
[Modifica sezione] Articles needing attention
Questi avvisi vengono utilizzati per indicare che l'articolo necessita di attenzione needs attention:
| Wiki Markup | Purpose | Template Display |
|---|---|---|
| {{style}} | Indicates that a page does not conform to the manuale di stile. This notice should be placed at the top of an article. | Template:Style |
| {{copyvio|url}} | Viene utilizzato nelle pagine che contengono violazioni di copyright. Questo avviso va posto all'inizio dell'articolo. Generalmente si preferisce rimuovere il contenuto violato e lasciare una nota nella pagina di discussione indicando la fonte del contenuto e perché è stato rimosso. | |
| {{merge|destination}} | Indicates that an article does not meet the article criteria and that its content should be merged into the destination article. This notice should be placed at the top of an article. | Template:Merge |
[Modifica sezione] Collaboration of the week
These notices are used to promote articles that are collaborations of the week:
| Wiki Markup | Purpose | Template Display |
|---|---|---|
| {{cotw|from-date|to-date}} | Indicates that a page is the current collaboration of the week. This notice should be placed at the top of an article as well as at the top of the article's talk page. | Template:Cotw |
| {{pcotw|from-date|to-date}} | Indicates that a page was previously a collaboration of the week. This notice should be placed at the top of an article's talk page. | Template:Pcotw |
| {{cotwpromote|article}} | Used on the front page to promote the current collaboration of the week. | Template:Cotwpromote |
[Modifica sezione] Other information notices
Informational notices provide warnings and disclaimers about hazards or other vital pieces of information that travelers should be alerted to.
| Wiki Markup | Purpose | Template Display | |
|---|---|---|---|
| {{disclaimerbox|disclaimer}} | A disclaimer is a sparingly-used message, normally containing editorial content about policy decisions. A disclaimer should generally be discussed prior to being added to an article. |
| |
| {{Attenzione|attenzione}} | Used to call out information that is vital to a traveler's safety, such as recent damage from a natural disaster, political instability, or some other serious condition. Warning boxes should be sparingly used and placed either at the top of an article or within the article section that is related to the warning. |
|
[Modifica sezione] Content insertion
These templates are used to standardize the look of specific Wikitravel article content.
| Wiki Markup | Purpose | Template Display | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{infobox|title|description}} | Used to create an infobox to display an interesting fact or notable piece of information within an article. Infoboxes should be used sparingly. |
| ||||||||||||||||||||||||||||||||||||||||
| {{newsitem|title|date|description}} | Used to create a news item on the Main Page. | Budget terminals at Sing, KL
23 March 2006 New airport terminals built for low-cost carriers open in Kuala Lumpur on March 23 and in Singapore in March 26. Flights by Air Asia, Malaysia's sole low cost carrier, will operate from the new terminal, while Tiger Airways will move to Singapore's Budget Terminal. leggi le News | ||||||||||||||||||||||||||||||||||||||||
|
{{quickbar | Used to create the quick reference box for country pages (and should not be used anywhere else). All arguments to the command are optional. For the image argument, please make sure the width is exactly 250px (the width of the quickbar) and that the "noframe" option is specified. |
| ||||||||||||||||||||||||||||||||||||||||
| {{tematicheturistiche}} | Identifica che la pagina fa parte degli articoli delle "Tematiche turistiche". Può essere posto all'inizio dell'articolo. | Questo articolo fa parte della sezione: Tematiche turistiche. | ||||||||||||||||||||||||||||||||||||||||
| {{discover}} | Inserts the current "Wikitravel Discover" factoids. Should be placed in the appropriate spot on the Main Page. | |||||||||||||||||||||||||||||||||||||||||
[Modifica sezione] Inserting Boilerplate Text
Wikitravel has a number of article templates that can be used to format articles. The following substitution texts can be used to quickly insert the article template into newly created articles. When the article is saved the shortcut is replaced with the text. This is a one-off substitution and can only be undone by deleting the inserted text - use with care.
- Country - Type {{subst:country}} into the edit box. - Expands into the Country article template text when saved.
- Region - Type {{subst:region}} into the edit box. - Expands into the Region article template text when saved.
- Small city - Type {{subst:smallcity}} into the edit box. - Expands into the Small city article template text when saved.
- Big city - Type {{subst:bigcity}} into the edit box. - Expands into the Big city article template text when saved.
- Huge city - Type {{subst:hugecity}} into the edit box. - Expands into the Huge city article template text when saved.
- District - Type {{subst:district}} into the edit box. - Expands into the District article template text when saved.
- Park - Type {{subst:park}} into the edit box. - Expands into the Park article template text when saved.
[Modifica sezione] Vedi anche
- Utilizzare i templates Mediawiki - Politiche per l'uso e la creazione di templates.
- Templates articoli - Linee guida per le sezioni standard che possono essere incluse negli articoli di Wikitravel.


