Template:LinkTrek: differenze tra le versioni
m (Migliorata la descrizione) |
(Aggiunto StarTrek.com e TemplateData) |
||
Riga 5: | Riga 5: | ||
| blog.trekcore.com | | blog.trekcore.com | ||
| trekcore.com = TrekCore | | trekcore.com = TrekCore | ||
| startrek.com = StarTrek.com | |||
| #default = Sconosciuto | | #default = Sconosciuto | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Riga 18: | Riga 19: | ||
* www.ex-astris-scientia.org | * www.ex-astris-scientia.org | ||
* trekcore.com | * trekcore.com | ||
* StarTrek.com | |||
e intesta il link generico di conseguenza. | e intesta il link generico di conseguenza. | ||
Riga 28: | Riga 30: | ||
<code><nowiki>{{LinkTrek|https://treknews.net/2020/02/14/review-star-trek-picard-104-absolute-candor/|[REVIEW] STAR TREK: PICARD Episode 4 “Absolute Candor”}}</nowiki></code><br /> | <code><nowiki>{{LinkTrek|https://treknews.net/2020/02/14/review-star-trek-picard-104-absolute-candor/|[REVIEW] STAR TREK: PICARD Episode 4 “Absolute Candor”}}</nowiki></code><br /> | ||
{{LinkTrek|https://treknews.net/2020/02/14/review-star-trek-picard-104-absolute-candor/|[REVIEW] STAR TREK: PICARD Episode 4 “Absolute Candor”}} | {{LinkTrek|https://treknews.net/2020/02/14/review-star-trek-picard-104-absolute-candor/|[REVIEW] STAR TREK: PICARD Episode 4 “Absolute Candor”}} | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"aliases": [ | |||
"URI", | |||
"link" | |||
], | |||
"label": "Link", | |||
"description": "LInk esterno", | |||
"example": "https://trekmovie.com/2020/10/29/review-star-trek-discovery-returns-to-common-ground-in-people-of-earth/", | |||
"type": "url", | |||
"required": true | |||
}, | |||
"2": { | |||
"aliases": [ | |||
"Titolo", | |||
"descrizione" | |||
], | |||
"label": "Titolo", | |||
"description": "Il titolo del link", | |||
"example": "Review: ‘Star Trek: Discovery’ Returns To Common Ground In “People Of Earth”", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"description": "Prepara i link esterni partendo dall'URL e dalla descrizione, generando automaticamente la fonte in base al dominio." | |||
} | |||
</templatedata> | |||
</noinclude> |
Versione delle 09:40, 4 nov 2020
Il template riconosce automaticamente:
- treknews.net
- trekmovie.com
- www.ex-astris-scientia.org
- trekcore.com
- StarTrek.com
e intesta il link generico di conseguenza.
Notare che il questo template usa a sua volta {{NoWiki}}
per evitare che caratteri appartenenti al markup wiki possano danneggiare l'etichetta.
Esempio
{{LinkTrek|https://trekmovie.com/2020/02/06/engage-star-trek-picard-finally-heads-to-the-stars-in-the-end-is-the-beginning-review/|Engage! ‘Star Trek: Picard’ Finally Heads To The Stars In “The End is the Beginning” – REVIEW}}
Engage! ‘Star Trek: Picard’ Finally Heads To The Stars In “The End is the Beginning” – REVIEW, TrekMovie
{{LinkTrek|https://treknews.net/2020/02/14/review-star-trek-picard-104-absolute-candor/|[REVIEW] STAR TREK: PICARD Episode 4 “Absolute Candor”}}
[REVIEW] STAR TREK: PICARD Episode 4 “Absolute Candor”, TrekNews
Prepara i link esterni partendo dall'URL e dalla descrizione, generando automaticamente la fonte in base al dominio.
Parametro | Descrizione | Tipo | Stato | |
---|---|---|---|---|
Link | 1 URI link | LInk esterno
| URL | obbligatorio |
Titolo | 2 Titolo descrizione | Il titolo del link
| Stringa | obbligatorio |