mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-12-18 08:00:51 +00:00
WIP bestiaire
This commit is contained in:
parent
bde611ae9b
commit
510db9f858
58 changed files with 29311 additions and 365 deletions
|
|
@ -4,10 +4,7 @@
|
|||
<div class="theme-default-content">
|
||||
<h1>{{ $page.title }}</h1>
|
||||
<div class="magic-item-details">
|
||||
<span>{{ $page.frontmatter.type }}</span>
|
||||
<span v-if="$page.frontmatter.subtype"> ({{ $page.frontmatter.subtype }})</span>
|
||||
<span>, {{ $page.frontmatter.rarity }}</span>
|
||||
<span v-if="$page.frontmatter.attunement"> ({{ $page.frontmatter.attunement }})</span>
|
||||
{{displayItemMeta()}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -19,8 +16,14 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
import {displayItemMeta} from '@theme/util/magicItemHelpers'
|
||||
|
||||
export default {
|
||||
methods : {
|
||||
displayItemMeta () {
|
||||
return displayItemMeta(this.$page.frontmatter)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue