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 Trying to find middle ground bw light mode text/dark mode links
imported>Soranin
I think this will fix the odd spacing at the bottom
Line 1: Line 1:
<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%;">
<includeonly><div class="quote" style="position:relative; background: #909090; padding:3px 24px 3px 0; margin-bottom:10px; 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>
</div><br clear="all"/></includeonly>
</div></includeonly><noinclude>
<noinclude>
 
==Usage==
==Usage==
<pre>{{IUNote|Title=|Text=}}</pre>
<pre>{{IUNote|Title=|Text=}}</pre>

Revision as of 15:51, 14 June 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