Difference between revisions of "Template:Text art"

From ArchWiki
Jump to: navigation, search
m (rm unnecessary tags & comment, the only way to use <pre> in a template is with such a trick)
m (link Wikipedia:Text art redirect because template can also be used with Unicode art)
Line 2: Line 2:
 
{{Template}}
 
{{Template}}
  
Block code that does not wrap on narrow screens, intended for [[Wikipedia:ASCII art|ASCII art]].
+
Block code that does not wrap on narrow screens, intended for [[Wikipedia:Text art|Text art]].
  
 
Use [[Template:bc]] for regular block codes.
 
Use [[Template:bc]] for regular block codes.

Revision as of 06:53, 22 September 2018

This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

Block code that does not wrap on narrow screens, intended for Text art.

Use Template:bc for regular block codes.

Usage

{{Text art|<nowiki>
    _             _  __        ___ _    _
   / \   _ __ ___| |_\ \      / (_) | _(_)
  / _ \ | '__/ __| '_ \ \ /\ / /| | |/ / |
 / ___ \| | | (__| | | \ V  V / | |   <| |
/_/   \_\_|  \___|_| |_|\_/\_/  |_|_|\_\_|
</nowiki>}}

Example

    _             _  __        ___ _    _
   / \   _ __ ___| |_\ \      / (_) | _(_)
  / _ \ | '__/ __| '_ \ \ /\ / /| | |/ / |
 / ___ \| | | (__| | | \ V  V / | |   <| |
/_/   \_\_|  \___|_| |_|\_/\_/  |_|_|\_\_|