Diferencia entre revisiones de «Plantilla:Ficha de videojuego»
De WikiCAAD
(No se muestran 132 ediciones intermedias de 2 usuarios) | |||
Línea 1: | Línea 1: | ||
< | <noinclude> | ||
</noinclude> | |||
<!----><templatestyles src="Template:Infobox/styles.css" /> | |||
<!----><templatestyles src="Template:Skin/styles.css" /> | |||
| | <!----><templatestyles src="Template:Extension/status.css" /> | ||
<!----> | |||
[[ | <includeonly> | ||
<div class="infobox infobox-juego"> | |||
| | <div class="infobox-title" style="text-align: center; font-size: 1.2em;">{{PAGENAME}}</div> | ||
{{{autor}}} - {{# | {{#if:{{{imagen|}}}|<div class="infobox-image">[[Image:{{{imagen}}}|{{{imagesize|220}}}px]]</div>}} | ||
|- | <div class="infobox-table"> | ||
| | <table> | ||
{{#if:{{{autor|}}}|<tr class="infobox-row"><td><b>Autor/es:</b></td><td> | |||
| | {{#arraymap: {{{autor|}}} |, |x| | ||
| | {{#if: {{#titleparts:x|1}} | <!-- Si la primera parte del token no está vacía --> | ||
| {{{ | [[{{#titleparts:x|1}}]]{{#ifeq:{{#titleparts:x|2}}| | |}} | ||
| | }} | ||
| | }}</td></tr>}} | ||
| {{{ | {{#if:{{{empresa|}}}|<tr class="infobox-row"><td><b>Compañía:</b></td><td>{{{empresa}}}</td></tr>}} | ||
| | {{#if:{{{tipo|}}}|<tr class="infobox-row"><td><b>Tipo de juego:</b></td><td>{{{tipo}}}</td></tr>}} | ||
| | {{#if:{{{fecha|}}}|<tr class="infobox-row"><td><b>Fecha:</b></td><td>{{{fecha}}}</td></tr>| | ||
| {{{ | {{#if:{{{year|}}}|<tr class="infobox-row"><td><b>Año:</b></td><td>{{{year}}}</td></tr>}} | ||
| | }} | ||
| | {{#if:{{{sistema_autoria|}}}|<tr class="infobox-row"><td><b>Sistema:</b></td><td>{{{sistema_autoria}}}</td></tr>}} | ||
| {{{ | {{#if:{{{sistemas_disponibles|}}}|<tr class="infobox-row"><td><b>Plataformas:</b></td><td>{{#invoke:String|split|{{{sistemas_disponibles}}}|,}}</td></tr>}} | ||
| | {{#if:{{{idiomas|}}}|<tr class="infobox-row"><td><b>Idiomas:</b></td><td>{{#invoke:String|split|{{{idiomas}}}|,}}</td></tr>}} | ||
{{#if:{{{genero|}}}|<tr class="infobox-row"><td><b>Ambientación:</b></td><td>{{#invoke:String|split|{{{genero}}}|,}}</td></tr>}} | |||
| {{{ | <td colspan="2" style="text-align:center"> | ||
|} | <!-- -->{{#if:{{{contacto|}}}|[[Image:arroba.png|40px|link={{{contacto}}}]]}} | ||
<!-- -->{{#if:{{{descarga|}}}|[[Image:Disco.png|40px|link={{{descarga}}}]]}} | |||
<!-- -->{{#if:{{{web|}}}|[[Image:Web.png|40px|link={{{web}}}]]}} | |||
</td> | |||
</table> | |||
</div> | |||
</div> | </div> | ||
{{#if: {{{year|}}} | |||
| [[Categoría:Anuario {{{year}}}]] | |||
| [[Categoría:Anuario {{#time:Y|{{{fecha}}}}}]] | |||
}} | |||
{{#if: {{{sistema_autoria|}}} | |||
| [[Categoría:Aventuras realizadas con {{{sistema_autoria}}}]] | |||
}} | |||
[[Categoría:Juegos]] | [[Categoría:Juegos]] | ||
</includeonly> | |||
</ |
Revisión actual - 07:11 7 jul 2025