Template:S: differenze tra le versioni

Da Wikitrek.
Vai alla navigazione Vai alla ricerca
mNessun oggetto della modifica
mNessun oggetto della modifica
 
(2 versioni intermedie di un altro utente non mostrate)
Riga 1: Riga 1:
<includeonly>{{#switch: {{lc:{{{1}}}}}
<includeonly>{{#switch: {{lc:{{{1}}}}}
  | e = [[USS Enterprise NCC-1701|''Enterprise'']]
  | e = [[USS Enterprise NCC-1701|''Enterprise'']]
| ec = [[USS Enterprise NCC-1701-C|''Enterprise-C'']]
  | ed = [[USS Enterprise NCC-1701-D|''Enterprise-D'']]
  | ed = [[USS Enterprise NCC-1701-D|''Enterprise-D'']]
  | ee = [[USS Enterprise NCC-1701-E|''Enterprise-E'']]
  | ee = [[USS Enterprise NCC-1701-E|''Enterprise-E'']]
Riga 7: Riga 8:
  | voy = [[USS Voyager NCC-74656| ''Voyager'']]
  | voy = [[USS Voyager NCC-74656| ''Voyager'']]
  | dis = [[USS Discovery NCC-1031| ''Discovery'']]
  | dis = [[USS Discovery NCC-1031| ''Discovery'']]
  | disa = [[USS Discovery NCC-1031-A| ''Discovery''-A ]]
  | disa = [[USS Discovery NCC-1031-A| ''Discovery''-A]]
  | ta = [[USS Titan NCC-80102-A|''Titan''-A]]
  | ta = [[USS Titan NCC-80102-A|''Titan''-A]]
  | c = [[USS Cerritos NCC-75567|''Cerritos'']]
  | c = [[USS Cerritos NCC-75567|''Cerritos'']]
Riga 23: Riga 24:
     <td>E</td>
     <td>E</td>
     <td>{{S|E}}</td>
     <td>{{S|E}}</td>
  </tr>
  <tr>
    <td>EC</td>
    <td>{{S|EC}}</td>
   </tr>
   </tr>
   <tr>
   <tr>

Versione attuale delle 20:21, 17 mag 2024

Template Ship: velocizza l'inserimento del nome di una astronave e del link alla relativa pagina.

Descrizione

Le varie opzioni (no-case sensitive) disponibili per questo template sono:

Valore del parametroTesto restituito
E Enterprise
EC Enterprise-C
ED Enterprise-D
EE Enterprise-E
EG Enterprise-G
DIS Discovery
DISA Discovery-A
PRO Protostar
VOY Voyager
TA Titan-A
DSN oppure DS9 Deep Space Nine
C Cerritos

Esempio

Questo esempio è automaticamente generato tramite script LUA a partire dal codice di esempio presente in Template:S/Esempio

Il codice

* {{S|ED}}
* {{S|EE}}
* {{S|TA}}

restituisce