Template:World: Difference between revisions
Appearance
改进世界模板渲染,添加美观的渐变背景和概念列表 |
m Protected "Template:World" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[Category:World]] | <includeonly>[[Category:World]] | ||
{{#set: | |||
World name={{{name|{{PAGENAME}}}}} | |||
|{{#if:{{{description|}}}|World description={{{description}}}|}} | |||
}} | |||
<div class="lorebook-world" style="border: 2px solid #0645ad; border-radius: 8px; padding: 20px; margin: 15px 0; background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%); box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> | <div class="lorebook-world" style="border: 2px solid #0645ad; border-radius: 8px; padding: 20px; margin: 15px 0; background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%); box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> | ||
<!-- World Header --> | <!-- World Header --> |
Latest revision as of 19:39, 17 October 2025
World template
This template standardises world-level pages for the Lorebook → MediaWiki demo.
Parameters
- name (optional)
- Overrides the display name. Defaults to the page title.
- description (optional)
- Short summary of the world.
Example
{{World |name=Farlandia |description=A fantasy setting used for examples. }}