Template:MarblePlate

From Ravenblack CityWiki

Jump to: navigation, search


Contents

Description

I wanted the encryption part, often found on Description segments of pub and user owned building pages, look like a marble plate. So everyone looking at such a page instantly spots the encryption text.

Usage

Just add {{MarblePlate}} around your code.

Use with no indention, <br/> or <poem></poem>

Without indention or the use of
<br/>
there will be no linebreak.
{{MarblePlate|

This is an example text
And this is a new line

And this is a new paragraph
With a second line

}}

gives:

This is an example text And this is a new line

And this is a new paragraph With a second line

Using indention

Using indention makes it look different.

{{MarblePlate|

 This is an example text
 And this is a new line

 And this is a new paragraph
 With a second line

}}

gives:

This is an example text
And this is a new line
And this is a new paragraph
With a second line

Using <br/>

Using
<br/>
instead of adding a newline.
{{MarblePlate|

 This is an example text
 And this is a new line<br/>
 And this is a new paragraph
 With a second line

}}

gives:

This is an example text
And this is a new line
And this is a new paragraph With a second line


Using <poem></poem>

And finally the result with using <poem></poem>.

Note, no indention or use of
<br/>
is required.
{{MarblePlate|

<poem> This is an example text
And this is a new line
And this is a new paragraph
With a second line
</poem>

}}

gives:

This is an example text
And this is a new line
And this is a new paragraph
With a second line


Additional Parameters

The default width is 300px but can be changed.

The default text-alignment is left and can be changed, too.

Example:

{{MarblePlate|

<poem> This is an example text
And this is a new line
And this is a new paragraph
With a second line
</poem>
|width=400px
|textalign=center</br>

}}

gives:

This is an example text
And this is a new line
And this is a new paragraph
With a second line

Personal tools
advertising