mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-30 20:10:28 +00:00
fa61bc53fc
* TW5-es-ES-edition Spanish edition of TW5. A full localisation of TiddlyWiki into castillian spanish (es-ES). * Translation ongoing * Translation ongoing * Translation ongoing * Translation ongoing + TiddlySpot upload * Translation ongoing * Translation ongoing + macro fixes * Translation ongoing * translation ongoing + macro fixes * Translation ongoing * Translation ongoing * Translation ongoing * Translation ongoing * Translation ongoing * translation ongoing * translation ongoing * Translation ongoing * translation ongoing * translation ongoing * translation ongoing * Arreglo plugin * Arreglo plugin * Translation ongoing * Translation ongoing * Translation ongoing * translation ongoing * Add Spanish edition to TW5.com * Reverting forced language plugin load. folder es-ES was provisorily added to the tiddlerStore in order to force the load of the updated language plugin. Finished the translation, and with the updated plugin on place, this folder has no use when the new release comes out.
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
caption: Tiddlers de datos
|
|
created: 20130829164700000
|
|
es-title: Tiddlers de datos
|
|
modified: 20160511055335042
|
|
tags: Concepts
|
|
title: DataTiddlers
|
|
type: text/vnd.tiddlywiki
|
|
|
|
Un <<.def "tiddler de datos">> o <<.def DataTiddler>> es una base de datos en miniatura, contenida en un tiddler.
|
|
|
|
Existen dos formatos estándar:
|
|
|
|
* [[Diccionarios|DictionaryTiddlers]]
|
|
* [[Tiddlers JSON|JSONTiddlers]]
|
|
|
|
Se pueden definir otros formatos para obtener bloques de datos que se comporten como tiddlers de datos.
|
|
|
|
Para buscar un valor por su nombre, usa una [[Referencia textual|TextReference]]. Por ejemplo, si un [[diccionario|DictionaryTiddlers]] llamado `DiasdelMes` contiene:
|
|
|
|
```
|
|
oct:31
|
|
nov:30
|
|
dec:31
|
|
```
|
|
|
|
... entonces, `{{MonthDays##nov}}` devolverá el valor `30`.
|
|
|
|
Lo mismo sucede si `DiasdelMes` es un [[tiddler JSON|JSONTiddlers]] con el siguiente contenido:
|
|
|
|
```
|
|
{"oct":31,"nov":30,"dec":31}
|
|
```
|
|
|
|
<<.tip "Nota: Sólo es posible recuperar datos por este medio de las propiedades inmediatas del objeto raíz de un tiddler JSON">>
|