Template:Example: Difference between revisions
Template page
More actions
Created page with "{{Expand |{{#if: {{{num|}}} <!-- Check if 'num' is provided --> | Example {{{num}}}{{#if: {{{title|}}} |: {{{title}}} }} <!-- If 'num' exists, add title if provided --> | {{#if: {{{title|}}} | Example: {{{title}}} | Example }} <!-- If 'num' doesn't exist, fallback to title or just 'Example' --> }}| {{{1}}} }}" |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Expand | {{Expand | ||
|{{#if: {{{num|}}} | |{{#if: {{{num|}}} | Example {{{num}}}{{#if: {{{title|}}} |: {{{title}}}}} | {{#if: {{{title|}}} | Example: {{{title}}} | Example }} }}| | ||
}}| | |||
{{{1}}} | {{{1}}} | ||
}} | }} | ||