Template:DataProp/doc: Difference between revisionsGive feedback
Fix doc page: restore Weapon example, clean up duplicate sections (with help from vergir-bot LLM) |
Update not-found examples to show both entity and prop error messages (with help from vergir-bot LLM) |
||
| Line 53: | Line 53: | ||
Grit's barrier lasts {{DataProp|Grit|BarrierDuration}}s. | Grit's barrier lasts {{DataProp|Grit|BarrierDuration}}s. | ||
=== | === Errors === | ||
If the entity | If the entity does not exist: | ||
<code>{{DataProp|Nonexistent | <code>{{DataProp|Nonexistent Thing|Whatever}}</code> | ||
{{DataProp|Nonexistent | {{DataProp|Nonexistent Thing|Whatever}} | ||
If the entity exists but the property does not: | |||
<code>{{DataProp|Abrams|FakeProp}}</code> | |||
{{DataProp|Abrams|FakeProp}} | |||
<includeonly>[[Category:Data templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Data templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | ||