Template:IngameBook: Difference between revisions

From CinderCivs Wiki
Jump to navigation Jump to search
(Created page with "<onlyinclude> <div style="display:flex; justify-content:center;"> <div style=" max-width:720px; padding:24px; background:#fdfcf7; border:1px solid #cfcfcf; font-family:serif; line-height:1.6; "> {{#if:{{{title|}}}| <div style="font-size:1.8em; font-weight:bold; text-align:center; margin-bottom:0.3em;"> {{{title}}} </div> }} {{#if:{{{subtitle|}}}| <div style="font-size:1.2em; text-align:center; margin-bottom:1em; color:#555;"> {{{subtitle}}} </div> }} {{#if...")
 
No edit summary
Line 131: Line 131:
}
}
</noinclude>
</noinclude>
{{Book
|title=Letter to Menoeceus
|subtitle=On Happiness and the Good Life
|author=Epicurus
|date=circa 300 BC
|location=Athens
|chapter1=On the Fear of the Gods
|text1=First believe that God is a living being, immortal and blessed, according to the notion of God commonly held. Do not assign to him anything foreign to his immortality or repugnant to his blessedness.
|chapter2=On Death
|text2=Become accustomed to the belief that death is nothing to us. For all good and evil consists in sensation, but death is deprivation of sensation.
}}

Revision as of 03:04, 27 December 2025



{{#if:|

{{#if:|Author: {{{author}}}
} {{#if:|Written: {{{date}}}
}


{{{text}}}


{

 "description": "Formats in-game Minecraft books, letters, and texts with optional metadata and chapters.",
 "params": {
   "title": {
     "label": "Title",
     "type": "string",
     "required": true
   },
   "subtitle": {
     "label": "Subtitle",
     "type": "string"
   },
   "author": {
     "label": "Author",
     "type": "string"
   },
   "date": {
     "label": "Date Written",
     "type": "string"
   },
   "location": {
     "label": "Location Written",
     "type": "string"
   },
   "text": {
     "label": "Full Text (no chapters)",
     "type": "string",
     "description": "Used only if no chapters are defined."
   },
   "chapter1": {
     "label": "Chapter 1 Title",
     "type": "string"
   },
   "text1": {
     "label": "Chapter 1 Text",
     "type": "string"
   },
   "chapter2": {
     "label": "Chapter 2 Title",
     "type": "string"
   },
   "text2": {
     "label": "Chapter 2 Text",
     "type": "string"
   },
   "chapter3": {
     "label": "Chapter 3 Title",
     "type": "string"
   },
   "text3": {
     "label": "Chapter 3 Text",
     "type": "string"
   },
   "chapter4": {
     "label": "Chapter 4 Title",
     "type": "string"
   },
   "text4": {
     "label": "Chapter 4 Text",
     "type": "string"
   }
 }

}


Letter to Menoeceus

On Happiness and the Good Life

{{#if:Epicuruscirca 300 BCAthens|

{{#if:Epicurus|Author: Epicurus
} {{#if:circa 300 BC|Written: circa 300 BC
} Location: Athens}

On the Fear of the Gods

First believe that God is a living being, immortal and blessed, according to the notion of God commonly held. Do not assign to him anything foreign to his immortality or repugnant to his blessedness.

On Death

Become accustomed to the belief that death is nothing to us. For all good and evil consists in sensation, but death is deprivation of sensation.