From GamingWiki
m (moved Template:Campaign history book to Template:Campaign history) |
|||
Line 1: | Line 1: | ||
{{#if:{{{title|}}}|<!-- | {{#if:{{{title|}}}|<!-- | ||
− | -->{{#set: | + | -->{{#set: title = {{{title}}} }}<!-- |
− | + | -->{{#if: {{{parent|}}} |<!-- | |
− | + | -->{{#set: | is a = chapter | parent = {{{parent}}} }} <!-- | |
− | + | -->|<!-- | |
− | + | -->{{#set: | is a = book }} <!-- | |
− | -->{{#if:{{{campaign|}}}|{{#set: campaign = {{{campaign}}} }} }}<!-- | + | -->}}<!-- |
− | -->{{#if:{{{ordinal|}}} |{{#set: ordinal = {{{ordinal}}} }} }}<!-- | + | -->{{#if: {{{campaign|}}} |{{#set: campaign = {{{campaign}}} }} }}<!-- |
− | -->{{#if:{{{blurb|{{{content|}}}}}} | + | -->{{#if: {{{ordinal|}}} |{{#set: ordinal = {{{ordinal}}} }} }}<!-- |
− | -->{{#if:{{{blurb|}}} | + | -->{{#if: {{{blurb|{{{content|}}}}}} |{{#set: blurb = {{{blurb|{{padright:|128|{{{content}}}}}...}}} }} }}<!-- |
+ | -->{{#if: {{{blurb|}}} | | ||
: ''{{{blurb}}}'' }}<!-- | : ''{{{blurb}}}'' }}<!-- | ||
− | -->{{#if:{{{content|}}} |{{#set: content = {{{content}}} }} | + | -->{{#if:{{{content|}}} |{{#set: content = {{{content}}} }} |
{{{content}}} }}<!-- | {{{content}}} }}<!-- | ||
-->}} | -->}} |