| 
									
										
										
										
											2020-03-26 19:04:23 +01:00
										 |  |  | <template> | 
					
						
							| 
									
										
										
										
											2020-04-05 14:38:20 +02:00
										 |  |  |   <main class="page content"> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-26 19:04:23 +01:00
										 |  |  |     <div class="theme-default-content"> | 
					
						
							|  |  |  |       <h1>{{ $page.title }}</h1> | 
					
						
							| 
									
										
										
										
											2020-04-01 19:34:06 +02:00
										 |  |  |       <div class="spell-details"> | 
					
						
							| 
									
										
										
										
											2020-04-05 14:38:20 +02:00
										 |  |  |         <div class="spell-school-level" v-html="displaySchoolLevel()"></div> | 
					
						
							| 
									
										
										
										
											2020-04-01 19:34:06 +02:00
										 |  |  |         <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> : | 
					
						
							|  |  |  |           <template v-if="$page.frontmatter.components.verbal">V</template><template v-if="$page.frontmatter.components.somatic || $page.frontmatter.components.material">,</template> | 
					
						
							|  |  |  |           <template v-if="$page.frontmatter.components.somatic">S</template><template v-if="$page.frontmatter.components.material">,</template> | 
					
						
							|  |  |  |           <template v-if="$page.frontmatter.components.material">M</template> | 
					
						
							|  |  |  |           <template v-if="$page.frontmatter.components.materials">({{$page.frontmatter.components.materials}})</template> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |         <div class="spell-duration"><strong>Durée</strong> : <span v-if="$page.frontmatter.concentration">concentration, </span>{{ $page.frontmatter.duration }}</div> | 
					
						
							|  |  |  |         <div class="spell-classes"><strong>Classe</strong> : <span v-for="(c, idx) in $page.frontmatter.classes" :key="idx">{{c}}<template v-if="idx != $page.frontmatter.classes.length-1">, </template></span></div> | 
					
						
							|  |  |  |       </div> | 
					
						
							| 
									
										
										
										
											2020-03-26 19:04:23 +01:00
										 |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2020-04-01 19:34:06 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |     <Content class="mt-4" /> | 
					
						
							| 
									
										
										
										
											2020-03-26 19:04:23 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-04-02 14:33:02 +02:00
										 |  |  |     <p v-if="$page.frontmatter.source" class="source">Source : <em>{{ $page.frontmatter.source }}</em></p> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-26 19:04:23 +01:00
										 |  |  |   </main> | 
					
						
							|  |  |  | </template> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <script> | 
					
						
							| 
									
										
										
										
											2020-04-05 14:38:20 +02:00
										 |  |  | import { displaySchoolLevel } from '@theme/util/spellHelpers' | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-26 19:04:23 +01:00
										 |  |  | export default { | 
					
						
							| 
									
										
										
										
											2020-04-05 14:38:20 +02:00
										 |  |  |   methods: { | 
					
						
							|  |  |  |     displaySchoolLevel () { | 
					
						
							|  |  |  |       return displaySchoolLevel(this.$page.frontmatter) | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2020-03-26 19:04:23 +01:00
										 |  |  | } | 
					
						
							|  |  |  | </script> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-30 14:26:19 +02:00
										 |  |  | <style lang="scss"> | 
					
						
							| 
									
										
										
										
											2020-03-26 19:04:23 +01:00
										 |  |  | </style> |