Difference between revisions of "Talk:Import description matrix (Artenquiz)"
(→Resources: new section) |
m |
||
Line 15: | Line 15: | ||
</blockquote> | </blockquote> | ||
Question: How can I decide for a value to parse either label/wording or modifier/comment? Is it the number of <…> that decides?--[[User:Andreas Plank|Andreas Plank]] 10:23, 31 July 2012 (CEST) | Question: How can I decide for a value to parse either label/wording or modifier/comment? Is it the number of <…> that decides?--[[User:Andreas Plank|Andreas Plank]] 10:23, 31 July 2012 (CEST) | ||
+ | |||
+ | Answer: Wording/Comments should be imported as follows: | ||
+ | <blockquote> | ||
+ | '''character''' e.g. “flower <color>”: | ||
+ | * Character.label = flower (color) | ||
+ | * Character.wording = flower | ||
+ | |||
+ | '''state''' e.g. “blue <maybe purple violet>” (there is presently no way to annotate a state correctly in the matrix, so skip <…>-stuff): | ||
+ | * CharacterState.label = blue | ||
+ | * CharacterState.wording = None | ||
+ | |||
+ | '''table-cell/attribute''' e.g. “<<span style="color:blue">mostly</span>>green<<span style="color:red">only during spring time</span>>”:<br/>(see also [[{{TALKPAGENAME}}#modifier_import|the talk about import modifier]]) | ||
+ | * <span style="color:blue">mostly</span> → Modifier | ||
+ | * <span style="color:red">only during spring time</span> → note/comment e.g. in CategoricalCharacterData.notes | ||
+ | </blockquote> | ||
== TODO == | == TODO == | ||
Line 25: | Line 40: | ||
Should we allow just one resource (e.g. a composed image) or multiple resources for one state/value? [[User:Andreas Plank|Andreas Plank]] 10:40, 31 July 2012 (CEST) | Should we allow just one resource (e.g. a composed image) or multiple resources for one state/value? [[User:Andreas Plank|Andreas Plank]] 10:40, 31 July 2012 (CEST) | ||
+ | : * multiple images --[[User:Andreas Plank|Andreas Plank]] 16:20, 1 August 2012 (CEST) |
Latest revision as of 15:20, 1 August 2012
Wording/Modifiers/Comments
Wording is defined by:
character e.g. “flower <color>”:
- Character.label = flower (color)
- Character.wording = flower
state e.g. “blue <maybe purple violet>”:
- CharacterState.label = blue (maybe purple violet)
- CharacterState.wording = blue
table-cell/attribute e.g. “<mostly>green<only during spring time>”:
(see also the talk about import modifier)
- mostly → Modifier
- only during spring time → note/comment e.g. in CategoricalCharacterData.notes
Question: How can I decide for a value to parse either label/wording or modifier/comment? Is it the number of <…> that decides?--Andreas Plank 10:23, 31 July 2012 (CEST)
Answer: Wording/Comments should be imported as follows:
character e.g. “flower <color>”:
- Character.label = flower (color)
- Character.wording = flower
state e.g. “blue <maybe purple violet>” (there is presently no way to annotate a state correctly in the matrix, so skip <…>-stuff):
- CharacterState.label = blue
- CharacterState.wording = None
table-cell/attribute e.g. “<mostly>green<only during spring time>”:
(see also the talk about import modifier)
- mostly → Modifier
- only during spring time → note/comment e.g. in CategoricalCharacterData.notes
TODO
ProjectAvailableScope:
- translation: Stadium, (schlechter: Geltungsbereich)?
Resources
Should we allow just one resource (e.g. a composed image) or multiple resources for one state/value? Andreas Plank 10:40, 31 July 2012 (CEST)
- * multiple images --Andreas Plank 16:20, 1 August 2012 (CEST)