Differenze tra le versioni di "Template:LinkTrek"

Da WikiTrek.
m (Correzione parametri)
m
(3 versioni intermedie di uno stesso utente non sono mostrate)
Riga 1: Riga 1:
<includeonly>[{{{1}}} ''{{{2}}}''], {{#switch:{{{1}}}|/|2}}
+
<includeonly>[{{{1}}} ''{{{2}}}''], {{#switch:{{#explode:{{{1}}}|/|2}}
 
| treknews.net = TrekNews
 
| treknews.net = TrekNews
 
| trekmovie.com = TrekMovie
 
| trekmovie.com = TrekMovie
Riga 11: Riga 11:
 
* [http://blog.trekcore.com/2020/02/star-trek-picard-review-the-end-is-the-beginning/ STAR TREK: PICARD Review — “The End is the Beginning”], TrekCore
 
* [http://blog.trekcore.com/2020/02/star-trek-picard-review-the-end-is-the-beginning/ STAR TREK: PICARD Review — “The End is the Beginning”], TrekCore
 
-->
 
-->
 +
Il template riconosce automaticamente:
 +
* treknews.net
 +
* trekmovie.com
 +
* www.ex-astris-scientia.org
 +
e intesta automaticamente il link generico.
  
 
== 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 />
 
{{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}}

Versione delle 17:24, 10 feb 2020

Il template riconosce automaticamente:

  • treknews.net
  • trekmovie.com
  • www.ex-astris-scientia.org

e intesta automaticamente il link generico.

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