Compendium filter
This commit is contained in:
@@ -16,8 +16,7 @@
|
||||
<li><strong>{{localize 'l5r5e.sheets.rank'}}</strong> : {{data.system.rank}}</li>
|
||||
<li><strong>{{localize 'l5r5e.sheets.bought_at_rank'}}</strong> : {{data.system.bought_at_rank}}</li>
|
||||
</ul>
|
||||
{{!--item-infos--}}
|
||||
<p><strong>{{localize 'l5r5e.sheets.description'}}</strong> : {{{data.enrichedHtml.description}}}</p>
|
||||
<p><strong>{{localize 'l5r5e.sheets.book_reference'}}</strong> : {{data.system.book_reference}}</p>
|
||||
|
||||
{{> 'systems/l5r5e/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -35,8 +35,7 @@
|
||||
<strong>{{localize 'l5r5e.sheets.properties'}}</strong> :
|
||||
{{#each data.system.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}}
|
||||
</p>
|
||||
{{!--item-infos--}}
|
||||
<p><strong>{{localize 'l5r5e.sheets.description'}}</strong> : {{{data.enrichedHtml.description}}}</p>
|
||||
<p><strong>{{localize 'l5r5e.sheets.book_reference'}}</strong> : {{data.system.book_reference}}</p>
|
||||
|
||||
{{> 'systems/l5r5e/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
</ul>
|
||||
{{!-- abilities --}}
|
||||
<p><strong>{{localize 'l5r5e.army.cohort.abilities'}}</strong> : {{{data.enrichedHtml.abilities}}}</p>
|
||||
{{!--item-infos--}}
|
||||
<p><strong>{{localize 'l5r5e.sheets.description'}}</strong> : {{{data.enrichedHtml.description}}}</p>
|
||||
<p><strong>{{localize 'l5r5e.sheets.book_reference'}}</strong> : {{data.system.book_reference}}</p>
|
||||
|
||||
{{> 'systems/l5r5e/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -7,8 +7,7 @@
|
||||
<li><strong>{{localize 'l5r5e.army.fortification.difficulty'}}</strong> : {{data.system.difficulty}}</li>
|
||||
<li><strong>{{localize 'l5r5e.army.fortification.attrition_reduction'}}</strong> : {{data.system.attrition_reduction}}</li>
|
||||
</ul>
|
||||
{{!--item-infos--}}
|
||||
<p><strong>{{localize 'l5r5e.sheets.description'}}</strong> : {{{data.enrichedHtml.description}}}</p>
|
||||
<p><strong>{{localize 'l5r5e.sheets.book_reference'}}</strong> : {{data.system.book_reference}}</p>
|
||||
|
||||
{{> 'systems/l5r5e/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -25,8 +25,7 @@
|
||||
<strong>{{localize 'l5r5e.sheets.properties'}}</strong> :
|
||||
{{#each data.system.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}}
|
||||
</p>
|
||||
{{!--item-infos--}}
|
||||
<p><strong>{{localize 'l5r5e.sheets.description'}}</strong> : {{{data.enrichedHtml.description}}}</p>
|
||||
<p><strong>{{localize 'l5r5e.sheets.book_reference'}}</strong> : {{data.system.book_reference}}</p>
|
||||
|
||||
{{> 'systems/l5r5e/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
</ul>
|
||||
{{!--Linked property--}}
|
||||
<strong>{{localize 'l5r5e.sheets.linked_property'}}</strong> : {{{data.linkedProperty.name}}}
|
||||
{{!--item-infos--}}
|
||||
<p><strong>{{localize 'l5r5e.sheets.description'}}</strong> : {{{data.enrichedHtml.description}}}</p>
|
||||
<p><strong>{{localize 'l5r5e.sheets.book_reference'}}</strong> : {{data.system.book_reference}}</p>
|
||||
|
||||
{{> 'systems/l5r5e/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,14 @@
|
||||
{{editor data.enrichedHtml.description target="system.description" button=true owner=owner editable=editable}}
|
||||
</fieldset>
|
||||
<label class="reference">
|
||||
{{localize 'l5r5e.sheets.book_reference'}}
|
||||
<input type="text" name="system.book_reference" value="{{data.system.book_reference}}" />
|
||||
{{localize 'l5r5e.sheets.source_reference.reference'}}
|
||||
<input type="text" name="system.source_reference.source" value="{{data.system.source_reference.source}}" list="source_books" />
|
||||
<datalist id="source_books">
|
||||
{{#each source_references as |source|}}
|
||||
<option>{{source}}</option>
|
||||
{{/each}}
|
||||
</datalist>
|
||||
{{localize 'l5r5e.sheets.source_reference.page_abbriviation'}}
|
||||
<input type="number" name="system.source_reference.page_nr" value="{{data.system.source_reference.page_nr}}" />
|
||||
</label>
|
||||
</article>
|
||||
17
system/templates/items/item/item-text-partial-reference.html
Normal file
17
system/templates/items/item/item-text-partial-reference.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{{#if data.enrichedHtml.description}}
|
||||
<div class="description">
|
||||
<p><strong>{{localize 'l5r5e.sheets.description'}}</strong> : {{{data.enrichedHtml.description}}}</p>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if data.system.source_reference.source}}
|
||||
<div class="reference">
|
||||
<div class="source">
|
||||
<p><strong>{{localize 'l5r5e.sheets.source_reference.reference'}}</strong> : {{data.system.source_reference.source}}</p>
|
||||
</div>
|
||||
{{#if data.system.source_reference.page_nr}}
|
||||
<div class="page_nr">
|
||||
<p>{{localize 'l5r5e.sheets.source_reference.page_abbriviation'}}{{data.system.source_reference.page_nr}}</p>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
@@ -29,8 +29,7 @@
|
||||
<strong>{{localize 'l5r5e.sheets.properties'}}</strong> :
|
||||
{{#each data.system.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}}
|
||||
</p>
|
||||
{{!--item-infos--}}
|
||||
<p><strong>{{localize 'l5r5e.sheets.description'}}</strong> : {{{data.enrichedHtml.description}}}</p>
|
||||
<p><strong>{{localize 'l5r5e.sheets.book_reference'}}</strong> : {{data.system.book_reference}}</p>
|
||||
|
||||
{{> 'systems/l5r5e/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -26,8 +26,7 @@
|
||||
<strong>{{localize 'l5r5e.sheets.types'}}</strong> : {{data.system.types}}
|
||||
</li>
|
||||
</ul>
|
||||
{{!--item-infos--}}
|
||||
<p><strong>{{localize 'l5r5e.sheets.description'}}</strong> : {{{data.enrichedHtml.description}}}</p>
|
||||
<p><strong>{{localize 'l5r5e.sheets.book_reference'}}</strong> : {{data.system.book_reference}}</p>
|
||||
|
||||
{{> 'systems/l5r5e/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -10,8 +10,7 @@
|
||||
{{#each data.system.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}}
|
||||
</li>
|
||||
</ul>
|
||||
{{!--item-infos--}}
|
||||
<p><strong>{{localize 'l5r5e.sheets.description'}}</strong> : {{{data.enrichedHtml.description}}}</p>
|
||||
<p><strong>{{localize 'l5r5e.sheets.book_reference'}}</strong> : {{data.system.book_reference}}</p>
|
||||
|
||||
{{> 'systems/l5r5e/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
<strong>{{localize 'l5r5e.sheets.bought_at_rank'}}</strong> : {{data.system.bought_at_rank}}
|
||||
</li>
|
||||
</ul>
|
||||
{{!--item-infos--}}
|
||||
<p><strong>{{localize 'l5r5e.sheets.description'}}</strong> : {{{data.enrichedHtml.description}}}</p>
|
||||
<p><strong>{{localize 'l5r5e.sheets.book_reference'}}</strong> : {{data.system.book_reference}}</p>
|
||||
|
||||
{{> 'systems/l5r5e/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -32,8 +32,7 @@
|
||||
<strong>{{localize 'l5r5e.sheets.bought_at_rank'}}</strong> : {{data.system.bought_at_rank}}
|
||||
</li>
|
||||
</ul>
|
||||
{{!--item-infos--}}
|
||||
<p><strong>{{localize 'l5r5e.sheets.description'}}</strong> : {{{data.enrichedHtml.description}}}</p>
|
||||
<p><strong>{{localize 'l5r5e.sheets.book_reference'}}</strong> : {{data.system.book_reference}}</p>
|
||||
|
||||
{{> 'systems/l5r5e/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -29,8 +29,7 @@
|
||||
</ul>
|
||||
</p>
|
||||
{{/if}}
|
||||
{{!--item-infos--}}
|
||||
<p><strong>{{localize 'l5r5e.sheets.description'}}</strong> : {{{data.enrichedHtml.description}}}</p>
|
||||
<p><strong>{{localize 'l5r5e.sheets.book_reference'}}</strong> : {{data.system.book_reference}}</p>
|
||||
|
||||
{{> 'systems/l5r5e/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -51,8 +51,7 @@
|
||||
<strong>{{localize 'l5r5e.sheets.properties'}}</strong> :
|
||||
{{#each data.system.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}}
|
||||
</p>
|
||||
{{!--item-infos--}}
|
||||
<p><strong>{{localize 'l5r5e.sheets.description'}}</strong> : {{{data.enrichedHtml.description}}}</p>
|
||||
<p><strong>{{localize 'l5r5e.sheets.book_reference'}}</strong> : {{data.system.book_reference}}</p>
|
||||
|
||||
{{> 'systems/l5r5e/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user