Template:LinkTrek: differenze tra le versioni
m (Aggiunto TrekCore) |
Nessun oggetto della modifica |
||
(11 versioni intermedie di 2 utenti non mostrate) | |||
Riga 1: | Riga 1: | ||
<includeonly>[{{{1}}} ''{{{2}}}''], {{#switch:{{#explode:{{{1}}}|/|2}} | <includeonly>[{{{1}}} ''{{NoWiki|{{{2}}}}}''], {{#switch:{{#explode:{{{1}}}|/|2}} | ||
| treknews.net = TrekNews | | treknews.net = TrekNews | ||
| trekmovie.com = TrekMovie | | trekmovie.com = TrekMovie | ||
Riga 5: | Riga 5: | ||
| blog.trekcore.com | | blog.trekcore.com | ||
| trekcore.com = TrekCore | | trekcore.com = TrekCore | ||
| intl.startrek.com = StarTrek.com | |||
| www.startrek.com = StarTrek.com | |||
| www.hyperb5.info = Hyper B5 | |||
| www.trekships.org = Advanced Starship Design Bureau | |||
| #default = Sconosciuto | | #default = Sconosciuto | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Riga 18: | Riga 22: | ||
* www.ex-astris-scientia.org | * www.ex-astris-scientia.org | ||
* trekcore.com | * trekcore.com | ||
e intesta | * StarTrek.com | ||
* hyperb5.info | |||
* www.trekships.org | |||
e intesta il link generico di conseguenza. | |||
Notare che il questo ''template'' usa a sua volta <code>[[:Template:NoWiki|<nowiki>{{NoWiki}}</nowiki>]]</code> per evitare che caratteri appartenenti al ''markup'' wiki possano danneggiare l'etichetta. | |||
== Esempio == | == Esempio == | ||
<code><nowiki>{{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}}</nowiki></code><br /> | <code><nowiki>{{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}}</nowiki></code><br /> | ||
{{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}} | {{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}} | ||
<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”}} | |||
<code><nowiki>{{LinkTrek|http://www.hyperb5.info/index.php/levittjudy|Judy Levitt}}</nowiki></code><br /> | |||
{{LinkTrek|http://www.hyperb5.info/index.php/levittjudy|Judy Levitt}} | |||
== TemplateData == | |||
<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 attuale delle 23:46, 3 mar 2024
Il template riconosce automaticamente:
- treknews.net
- trekmovie.com
- www.ex-astris-scientia.org
- trekcore.com
- StarTrek.com
- hyperb5.info
- www.trekships.org
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
{{LinkTrek|http://www.hyperb5.info/index.php/levittjudy|Judy Levitt}}
Judy Levitt, Hyper B5
TemplateData
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 |