Template:S: differenze tra le versioni

Da Wikitrek.
Vai alla navigazione Vai alla ricerca
(Cambio tabella in formato Html)
Nessun oggetto della modifica
 
(4 versioni intermedie di 2 utenti non mostrate)
Riga 1: Riga 1:
<includeonly>{{#switch: {{lc:{{{1}}}}}
<includeonly>{{#switch: {{lc:{{{1}}}}}
| 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'']]
| eg = [[USS Enterprise NCC-1701-G|''Enterprise-G'']]
  | pro = [[USS Protostar NX-76884| ''Protostar'']]
  | pro = [[USS Protostar NX-76884| ''Protostar'']]
  | voy = [[USS Voyager NCC-74656| ''Voyager'']]
  | voy = [[USS Voyager NCC-74656| ''Voyager'']]
Riga 7: Riga 10:
  | 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'']]
  | ds9
  | ds9
  | dsn = [[Deep Space Nine (stazione spaziale)|''Deep Space Nine'']]
  | dsn = [[Deep Space Nine (stazione spaziale)|''Deep Space Nine'']]
Riga 17: Riga 21:
<table class="wikitable sortable" style="width:80%">
<table class="wikitable sortable" style="width:80%">
   <th style="width:40%">Valore del parametro</th><th>Testo restituito</th>
   <th style="width:40%">Valore del parametro</th><th>Testo restituito</th>
  <tr>
    <td>E</td>
    <td>{{S|E}}</td>
  </tr>
  <tr>
    <td>EC</td>
    <td>{{S|EC}}</td>
  </tr>
   <tr>
   <tr>
     <td>ED</td>
     <td>ED</td>
Riga 26: Riga 38:
   </tr>
   </tr>
   <tr>
   <tr>
    <td>EG</td>
    <td>{{S|Eg}}</td>
  </tr><tr>
     <td>DIS</td>
     <td>DIS</td>
     <td>{{S|dis}}</td>
     <td>{{S|dis}}</td>
Riga 48: Riga 63:
     <td>DSN oppure DS9</td>
     <td>DSN oppure DS9</td>
     <td>{{S|DS9}}</td>
     <td>{{S|DS9}}</td>
  </tr>
  <tr>
    <td>C</td>
    <td>{{S|c}}</td>
   </tr>
   </tr>
</table>
</table>

Versione attuale delle 18:42, 1 apr 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