Welcome to Assassin's Creed Wiki! Log in and join the community.

Template:IUNote: Difference between revisions

From the Assassin's Creed Wiki
Jump to navigation Jump to search
imported>Darman36
m Tweak again to see links in dark mode
imported>Darman36
m Trying to find middle ground bw light mode text/dark mode links
Line 1: Line 1:
<includeonly><div class="quote" style="position:relative; background: #4f4f4f; padding:3px 24px 3px 0; margin-bottom:0; width:auto; border-radius:5px; border:2px solid black;display:inline-block;max-width:55%;">
<includeonly><div class="quote" style="position:relative; background: #909090; padding:3px 24px 3px 0; margin-bottom:0; width:auto; border-radius:5px; border:2px solid black;display:inline-block;max-width:55%;">
{{#if: {{{Title|}}} | <span style="border-bottom: 2px solid #222;display: block;font-size: 16px;margin: 10px 0 0 24px;"><b>{{{Title|}}}</b></span>| }}
{{#if: {{{Title|}}} | <span style="border-bottom: 2px solid #222;display: block;font-size: 16px;margin: 10px 0 0 24px;"><b>{{{Title|}}}</b></span>| }}
:<span style="font-size:14px;"><i>{{{Text|}}}</i></span>
:<span style="font-size:14px;"><i>{{{Text|}}}</i></span>

Revision as of 17:15, 23 May 2024


Usage

{{IUNote|Title=|Text=}}

There is no need to bold the title or to italicize the text, the template already does that by default.

Example:

{{IUNote
|Title=This is a title
|Text=While this is the text}}

gives the following:

This is a title

While this is the text


{{IUNote
|Text=This is a note with no title}}

gives the following:

This is a note with no title