Koha Test Wiki MW Canasta on Koha Portainer

Test major Koha Wiki changes or bug fixes here without fear of breaking the production wiki.

For the current Koha Wiki, visit https://wiki.koha-community.org .

Template:Blockquote/testcases

From Koha Test Wiki MW Canasta on Koha Portainer
Jump to navigation Jump to search

Template:Testcases

Page Template:TOC limit/styles.css has no content.

With character

Template:Testcase table

Just quote text

{{quote|It was the best of times, it was the worst of times.}}

Template:Testcase table

All parameters, positional

{{quote|It was the best of times, it was the worst of times.|Charles Dickens|''A Tale of Two Cities''}}

Template:Testcase table

All parameters, named

{{quote|text=It was the best of times, it was the worst of times.|sign=Charles Dickens|source=''A Tale of Two Cities''|date=1859}}

Template:Testcase table

Without sign, positional

{{quote|A quote by the subject of the article might not need to say who said it||2010}}

Template:Testcase table

Without sign, named parameters

{{quote|text=A quote by the subject of the article might not need to say who said it|source=2010}}

Template:Testcase table

Without source, positional

{{quote|Add little to little and you have a big pile|Ovid}}

Template:Testcase table

Without source, named parameters

{{quote|text=Add little to little and you have a big pile|sign=Ovid}}

Template:Testcase table

Without text, positional

{{quote||Harpo Marx|Duck Soup}}

Template:Testcase table

Without text, named parameters

{{quote|sign=Harpo Marx|source=Duck Soup}}

Template:Testcase table

With indentation

::::{{quote|It was the best of times, it was the worst of times.|Charles Dickens|''A Tale of Two Cities''}}

Using quote:

Note.jpg

It was the best of times, it was the worst of times.

Using quote/sandbox:

Template:Quote/sandbox

With line breaks

{{quote|It was the best of times, 

it was the worst of times.|Charles Dickens|''A Tale of Two Cities''}}

Using quote:

Note.jpg

It was the best of times,

it was the worst of times.

Using quote/sandbox: Template:Quote/sandbox

With text=

{{quote|text=It was the best of times, 

it was the worst of times.|Charles Dickens|''A Tale of Two Cities''}}

Using quote:

Note.jpg

Charles Dickens

Using quote/sandbox: Template:Quote/sandbox

More line breaks

Live template:

Note.jpg

<Enter the note text here>

Sandbox template: Template:Quote/sandbox

No parameters

{{quote}}

Template:Testcase table

Equals signs

Unnamed parameter error

{{quote|You cannot have an unnamed parameter with an equals signs (=) in the actual argument.}}

Template:Testcase table

Named parameter works

{{quote|text=You can have a named parameter with an equals sign (=) in the actual argument.}}

Template:Testcase table

Empty parameters

Template:Testcase table

Notrim

{{quote|Eliminate all other factors, and the one which remains must be the truth.|notrim=1}}

Template:Testcase table

{{quote|"Eliminate all other factors, and the one which remains must be the truth."|notrim=1}}

Template:Testcase table

{{quote|''Eliminate all other factors'' is a book, another book is ''The one which remains must be the truth.''|notrim=1}}

Template:Testcase table

{{quote|'''Eliminate all other factors''' should be said boldly, as should '''The one which remains must be the truth.'''|notrim=1}}

Template:Testcase table

Without notrim

{{quote|Eliminate all other factors, and the one which remains must be the truth.}}

Template:Testcase table

{{quote|"Eliminate all other factors, and the one which remains must be the truth."}}

Template:Testcase table

{{quote|''Eliminate all other factors'' is a book, another book is ''The one which remains must be the truth.''}}

Template:Testcase table

{{quote|'''Eliminate all other factors''' should be said boldly, as should '''The one which remains must be the truth.'''}}

Template:Testcase table