mirror of
				https://github.com/em-squared/5e-drs.git
				synced 2025-10-30 21:24:18 +00:00 
			
		
		
		
	classes
This commit is contained in:
		
							parent
							
								
									1050fbb531
								
							
						
					
					
						commit
						38931015db
					
				
					 71 changed files with 5819 additions and 184 deletions
				
			
		|  | @ -1,13 +1,10 @@ | |||
| <template> | ||||
|   <main class="page"> | ||||
|   <main class="page content"> | ||||
| 
 | ||||
|     <div class="theme-default-content"> | ||||
|       <h1>{{ $page.title }}</h1> | ||||
|       <div class="spell-details"> | ||||
|         <div class="spell-school-level"> | ||||
|           <template v-if="$page.frontmatter.level != 0">{{ $page.frontmatter.school }} de niveau {{ $page.frontmatter.level }}</template> | ||||
|           <template v-else>{{ $page.frontmatter.school }}, Tour de magie</template> | ||||
|           <template v-if="$page.frontmatter.ritual"> (rituel)</template> | ||||
|         </div> | ||||
|         <div class="spell-school-level" v-html="displaySchoolLevel()"></div> | ||||
|         <div class="spell-casting-time"><strong>Temps d'incantation</strong> : {{ $page.frontmatter.casting_time }}</div> | ||||
|         <div class="spell-range"><strong>Portée</strong> : {{ $page.frontmatter.range }}</div> | ||||
|         <div class="spell-components"><strong>Composantes</strong> : | ||||
|  | @ -29,7 +26,14 @@ | |||
| </template> | ||||
| 
 | ||||
| <script> | ||||
| import { displaySchoolLevel } from '@theme/util/spellHelpers' | ||||
| 
 | ||||
| export default { | ||||
|   methods: { | ||||
|     displaySchoolLevel () { | ||||
|       return displaySchoolLevel(this.$page.frontmatter) | ||||
|     } | ||||
|   } | ||||
| } | ||||
| </script> | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Maxime Moraine
						Maxime Moraine