Registration has been disabled and the moderation extension has been turned off.
Contact an admin on Discord or EDF if you want an account. Also fuck bots.

Template:Information: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>CrackRabbit
Created page with "<includeonly><!-- ::BEGIN:: --><table style="border-collapse:collapse; border:1px solid #C8C8C8; clear:both; margin:1em 0 1em 0;"> <caption style="text-align:left;"><big>..."
imported>TabbyGarf
1 revision imported
 
(5 intermediate revisions by the same user not shown)
(No difference)

Latest revision as of 13:43, 25 March 2021

This template is a sublation of the now dead Template:Duplicate and Template:Translate. It is similar to TOW's Template:Information except mainly written in superior HTML. For images it can:

  • display the navigation;
  • display the description;
  • display the tweet(s);
  • display the translation of text in the image;
  • display the source(s);
  • display the other version(s);
  • indicate that an image has one or more duplicate(s);
  • indicate that an image is in the wrong format;
  • and\or display copyright information (serious business)

Usage

Syntax:

{{ Information | navigation | prev | title | next | description | tweet | translate1 | translate2 | lang | multi-lined | convert | source | booru | id | other_version | alt | duplicate | copyright }}

Where:

  • For navigation:
    • navigation = yes
      • prev = previous image basename
      • title = of the current file (defaults to the current pagename)
      • next = next image basename
  • For description:
    • description = plain text or any wiki markup that describes the image: not a remark
  • For tweet:
  • For translations:
    • translate1 = non-English text
    • translate2 = English text
    • lang = the name of the non-English language
    • multi-lined = no, yes, or nothing (defaults to single-lined)
  • For source notification(s):
    • source = plain text or any wiki markup
    • booru = name (or short name) of an imagebooru
      • id = ID of an image
  • For other version(s) notifications:
    • other_version = any wiki markup to link to other images, for example: [[File:*.ext|185x185px]]
    • alt = type of other version of an image, examples: Cropped version, Slow motion version
  • For duplicate image notifications:
    • duplicate = plain text sort key for duplicate images
  • For wrong filetype notifications:
    • convert = either PNGtoJPG, JPGtoPNG, GIFtoPNG, JPGto1bitPNG, or GIFto1bitPNG
  • For copyright information:
    • copyright = plain text; any wiki markup; or wtfpl, public_domain, bsd, or gnu

Note: Do not use spaces immediately before or after the curly brackets or vertical bar.

Examples

Navigation

This links between sequential images. In this unique case the title parameter is used: if it was not then it would display the file name without "File:" prefix:

{{Information
|navigation=yes
|title=[[:File:Ewww3.jpg]]
|next=Ewww5.jpg
|prev=Ewww2.jpg
}}

produces this:

Information
Navigation
previous File:Ewww3.jpg next

(See also Template:Photoframe)

Tweet

This:

{{information
|tweet={{embedded tweet|https://twitter.com/fucktyler/status/285670822264307712}}
}}

produces this:

Information
Tweet(s)

Translate

(For images use Online OCR)

Google Translate usually works. This:

{{Information|translate1=ПО-АНГЛИЙСКИ, ублюдок! ТЫ НА НЁМ ГОВОРИШЬ?|translate2=[[ENGLISH MOTHERFUCKER DO YOU SPEAK IT|English, motherfucker! YOU speak it?]]|lang=Russian}}

produces this:

Information
Non-English "ПО-АНГЛИЙСКИ, ублюдок! ТЫ НА НЁМ ГОВОРИШЬ? " (Russian), translation: "English, motherfucker! YOU speak it?"

Booru

This:

{{Information
|booru=redpill|id=12212
}}

produces this:

Information
Source

#12212 at redpill.booru.org

Currently, booru can equal either: paheal, redpill, real, gel, derpi, sankaku, anime, rule34.xxx, vidya, meme, food, poni, loli, x, ibsearch, or vivi.

Imageboorus that incite certain categories:

The rest do not incite any categories as they are not consistently of one category, for example, Sankaku Channel is not purely anime.

Also, if your user rights are editor or higher consider adding the tags to the keywords section. Use this HTML file to reformat the tags (Real-time HTML Editor):

<!DOCTYPE html>
<html>
<title>Reformat tags</title>
<body>
<textarea id="tags" cols="48" rows="20" tabindex="3"></textarea> 
<br><button onclick="spaceToComma()" style="margin-bottom:3px;"><tt>Convert "keyword key_word" to "keyword, key word"</tt></button>
<br><button onclick="commaToSpace()"><tt>Convert "keyword, key word" to "keyword key_word"</tt></button>
<br><small>(works with or without space(s) after the comma(s))</small>
<script>
function commaToSpace() {
    var str = document.getElementById("tags").value;
    if (str.match(", ")) {
        var res = str.replace(/, /g, ",");
        var res2 = res.replace(/ /g, "_")
        document.getElementById("tags").value = res2.replace(/,/g, " ");
    } else {
        var res = str.replace(/ /g, "_");
        document.getElementById("tags").value = res.replace(/,/g, " ");
    }
}
function spaceToComma() {
    var str = document.getElementById("tags").value;
    var res = str.replace(/ /g, ", ");
    document.getElementById("tags").value = res.replace(/_/g, " ");
}
</script>
</body>
</html>

Other version

For alternative image references, this:

{{Information
|other_version=[[File:Cat Sink Drink.png|185x185px]]
|alt=Uncropped version
}}

produces this:

Information
Uncropped version

  • Notice: if 185px was used instead of 185x185px then the results would be shit.
  • If:
    • only alternative image format then use: {{Information|duplicate=plain text|other_version=[[:File:*.ext|185x185px]]}}
    • multiple other versions then use an en space: {{Information|duplicate=plain text|other_version=[[File:*.ext|185x185px]] [[File:*.ext|185x185px]]}}
    • they have thumbnails and captions then see here: File:Saudibeheaded1.jpg
    • they should be a gallery see: File:Lolwut.jpg

Duplicate

If there is two or more duplicate images, for example:

  • File:herd_you_leik_mudkips.jpg
  • File:u_leik_mudkips.jpg
  • File:do_you_like_mudkips.jpg

organize them to show up in a group in the duplicate category by adding this template to each image. This:

{{Information
|duplicate=leik mudkips?
}}

produces this:

Information
Duplicate sort key leik mudkips?

Convert

This:

{{Information
|convert=PNGtoJPG
}}
{{Information
|convert=JPGtoPNG
}}
{{Information
|convert=GIFtoPNG
}}

produces this:

Information
Wrong image format

This PNG should be a JPG.

Information
Wrong image format

This JPG should be a PNG.

Information
Wrong image format

This GIF should be a PNG.

  • PNGtoJPG - for photographs uploaded as PNGs
  • JPGtoPNG - for non-photographic images or photographs with color dithering uploaded as JPGs
  • GIFtoPNG - for GIFs (which usually have color dithering) that are not animated but are uploaded as GIFs

Copyright

This:

{{Information|copyright=wtfpl}}

produces this:

Information
Copyright shit

: Do What the Fuck You Want to Public License

See also