Editing Template:PostQuote

From Bibliotheca Anonoma

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<noinclude>[[Category: Templates]][[Category: 4chan templates]]{{Template}}</noinclude>
<noinclude>[[Category: Templates]][[Category: 4chan templates]]{{Template}}</noinclude>
{| id="PostQuote" {{#switch: {{{Theme|}}} | Yotsuba = style="background-color: #f0e0d6; border: 1px solid #d9bfb7; border-left: none; border-top: none; display: table; padding: 2px;font-family: arial,helvetica,sans-serif;font-size: 10pt;color:maroon;" | Yotsuba-B = style="background-color: #d6daf0; border: 1px solid #b7c5d9; border-left: none; border-top: none; display: table; padding: 2px;font-family: arial,helvetica,sans-serif;font-size: 10pt;color:#000;" | #default = style="background-color: #f0e0d6; border: 1px solid #d9bfb7; border-left: none; border-top: none; display: table; padding: 2px;font-family: arial,helvetica,sans-serif;font-size: 10pt;color:maroon;"}}
{| id="PostQuote" {{#switch: {{{Theme|}}} | Yotsuba = style="background-color: #f0e0d6; border: 1px solid #d9bfb7; border-left: none; border-top: none; display: table; padding: 2px;font-family: arial,helvetica,sans-serif;font-size: 10pt;color:maroon;" | Yotsuba-B = style="background-color: #d6daf0; border: 1px solid #b7c5d9; border-left: none; border-top: none; display: table; padding: 2px;font-family: arial,helvetica,sans-serif;font-size: 10pt;color:#000; | #default = style="background-color: #f0e0d6; border: 1px solid #d9bfb7; border-left: none; border-top: none; display: table; padding: 2px;font-family: arial,helvetica,sans-serif;font-size: 10pt;color:maroon;"}}
|-
|-
| {{#if: {{{OP|}}} | {{#if: {{{File|}}} | File: [[:File:{{{Filename|}}}|<span style="color:{{#switch: {{{Theme|}}} | Yotsuba = #00e | Yotsuba-B = #34345c | #default = #00e}};">{{{File|}}}</span>]] ({{{FileSize|}}}, {{{FileWidth|}}}x{{{FileHeight|}}})}}
| <span style="position:relative;top:-3px;">[[File:Checkbox.png|This is just here to make it look like an actual 4chan post]]</span> <span style="color:{{#switch: {{{Theme|}}} | Yotsuba = #cc1105 | Yotsuba-B = #0f0c5d | #default = #cc1105}};font-weight: 700;">{{{Subject|}}}</span> {{#switch: {{{Capcode|}}} | admin = <span style="color:red;font-weight: 700;">{{{Name|}}} <span style="font-weight:400;">{{{Tripcode|}}}</span> ## Admin</span><span style="position:relative;top:-2px;"> [[File:Adminicon.gif|This user is the 4chan administrator.]]</span> | mod = <span style="color:purple;font-weight: 700;">{{{Name|}}} <span style="font-weight:400;">{{{Tripcode|}}}</span> ## Mod</span><span style="position:relative;top:-2px;"> [[File:Modicon.gif|This user is a 4chan Moderator.]]</span> | manager = <span style="color:#FF0080;font-weight: 700;">{{{Name|}}} <span style="font-weight:400;">{{{Tripcode|}}}</span> ## Manager</span><span style="position:relative;top:-2px;"> [[File:Managericon.gif|This user is a 4chan Manager.]]</span> | developer = <span style="color:#0000F0;font-weight: 700;">{{{Name|}}} <span style="font-weight:400;">{{{Tripcode|}}}</span> ## Developer</span><span style="position:relative;top:-2px;"> [[File:Developericon.gif|This user is a 4chan Developer.]]</span> | founder = <span style="color:#117743;font-weight: 700;">{{{Name|}}} <span style="font-weight:400;">{{{Tripcode|}}}</span> ## Founder</span><span style="position:relative;top:-2px;"> [[File:Minileaf.gif|This user is the 4chan Founder.]]</span> | verified = <span style="color:#007FFF;font-weight: 700;">{{{Name|}}} <span style="font-weight:400;">{{{Tripcode|}}}</span> ## Verified</span> | #default = {{#if: {{{Name|}}} | <span style="color: #117743;font-weight: 700;">{{{Name|}}}</span><span style="color: #117743;font-weight:400;"> {{{Tripcode|}}}</span> | <span style="color: #117743;font-weight: 700;">Anonymous</span> {{{Tripcode|}}} | <span style="color: #117743;font-weight:400;">{{{Tripcode|}}}</span> }} }} {{#if: {{{Pass|}}} | <span style="position:relative;top:-2px;"> [[File:Minileaf.gif|Pass user since {{{Pass|}}}]]</span> }} {{#if: {{{Country|}}} | [[File:{{{CountryCode|}}}.gif|{{{Country|}}}]]}} {{#if: {{{ID|}}} | (ID: {{{ID|}}})}} {{{Date|}}} {{#if: {{{ArchiveLink|}}} | [{{{ArchiveLink|}}} <span style="color:{{#switch: {{{Theme|}}} | Yotsuba = maroon | Yotsuba-B = black | #default = maroon}};">No.{{{PostNo|}}}]</span> | [https:/// <span style="color:{{#switch: {{{Theme|}}} | Yotsuba = maroon | Yotsuba-B = black | #default = maroon}};">No.{{{PostNo|}}}]</span>}} <span style="color: {{#switch: {{{Theme|}}} | Yotsuba = #000080 | Yotsuba-B = #34345c | #default = #000080}};position:relative;left:-12px;display:inline-block;width:0;" title="can't cry to janny here">▶</span><span title="How to use" style="position:relative;display:inline-block;width:0;font-size:10px;bottom:8px;float:right;">[[Template:PostQuote#Usage|<span style="color:{{#switch: {{{Theme|}}} | Yotsuba = #d9bfb7 | Yotsuba-B = #b7c5d9 | #default = #d9bfb7}}">?</span>]]</span><br />{{#if: {{{File|}}} | [[:File:{{{File|}}}|<span style="color:{{#switch: {{{Theme|}}} | Yotsuba = #00e | Yotsuba-B = #34345c | #default = #00e}};">{{{File|}}}</span>]] ({{{FileSize|}}}, {{{FileWidth|}}}x{{{FileHeight|}}})}}
{{!}}-
|-
{{!}} <span style="border:none;float:left;position:relative;margin-left:20px;">{{#ifexpr: {{{FileWidth|}}} > 250 | [[File:{{{Filename|}}}{{!}}250x250px]] | {{#ifexpr: {{{FileHeight|}}} > 250 | [[File:{{{Filename|}}}{{!}}250x250px]] | [[File:{{{Filename|}}}]]}}}}</span>}}<span style="position:relative;top:-3px;">[[File:Checkbox.png|This is just here to make it look like an actual 4chan post]]</span> <span style="color:{{#switch: {{{Theme|}}} | Yotsuba = #cc1105 | Yotsuba-B = #0f0c5d | #default = #cc1105}};font-weight: 700;">{{{Subject|}}}</span> {{#switch: {{{Capcode|}}} | admin = <span style="color:red;font-weight: 700;">{{{Name|}}} <span style="font-weight:400;">{{{Tripcode|}}}</span> ## Admin</span><span style="position:relative;top:-2px;"> [[File:Adminicon.gif|This user is the 4chan administrator.]]</span> | mod = <span style="color:purple;font-weight: 700;">{{{Name|}}} <span style="font-weight:400;">{{{Tripcode|}}}</span> ## Mod</span><span style="position:relative;top:-2px;"> [[File:Modicon.gif|This user is a 4chan Moderator.]]</span> | manager = <span style="color:#FF0080;font-weight: 700;">{{{Name|}}} <span style="font-weight:400;">{{{Tripcode|}}}</span> ## Manager</span><span style="position:relative;top:-2px;"> [[File:Managericon.gif|This user is a 4chan Manager.]]</span> | developer = <span style="color:#0000F0;font-weight: 700;">{{{Name|}}} <span style="font-weight:400;">{{{Tripcode|}}}</span> ## Developer</span><span style="position:relative;top:-2px;"> [[File:Developericon.gif|This user is a 4chan Developer.]]</span> | founder = <span style="color:#117743;font-weight: 700;">{{{Name|}}} <span style="font-weight:400;">{{{Tripcode|}}}</span> ## Founder</span><span style="position:relative;top:-2px;"> [[File:Minileaf.gif|This user is the 4chan Founder.]]</span> | verified = <span style="color:#007FFF;font-weight: 700;">{{{Name|}}} <span style="font-weight:400;">{{{Tripcode|}}}</span> ## Verified</span> | #default = {{#if: {{{Name|}}} | <span style="color: #117743;font-weight: 700;">{{{Name|}}}</span><span style="color: #117743;font-weight:400;"> {{{Tripcode|}}}</span> | <span style="color: #117743;font-weight: 700;">Anonymous</span> {{{Tripcode|}}} | <span style="color: #117743;font-weight:400;">{{{Tripcode|}}}</span> }} }} {{#if: {{{Pass|}}} | <span style="position:relative;top:-2px;"> [[File:Minileaf.gif|Pass user since {{{Pass|}}}]]</span> }} {{#if: {{{FlagName|}}} | [[File:{{{FlagFile|}}}.gif|{{{FlagName|}}}]]}} {{#if: {{{ID|}}} | (ID: {{{ID|}}})}} {{{Date|}}} {{#if: {{{ArchiveLink|}}} | <span class="plainlinks">[{{{ArchiveLink|}}} <span style="color:{{#switch: {{{Theme|}}} | Yotsuba = maroon | Yotsuba-B = black | #default = maroon}};">No.{{{PostNo|}}}]</span></span> | <span class="plainlinks">[https:/// <span style="color:{{#switch: {{{Theme|}}} | Yotsuba = maroon | Yotsuba-B = black | #default = maroon}};">No.{{{PostNo|}}}]</span></span>}} <span style="color: {{#switch: {{{Theme|}}} | Yotsuba = #000080 | Yotsuba-B = #34345c | #default = #000080}};position:relative;display:inline;" title="can't cry to janny here">▶</span><span title="How to use" style="position:relative;display:inline-block;width:0;font-size:10px;bottom:8px;float:right;">[[Template:PostQuote#Usage|<span style="color:{{#switch: {{{Theme|}}} | Yotsuba = #d9bfb7 | Yotsuba-B = #b7c5d9 | #default = #d9bfb7}}">?</span>]]</span><br />{{#if: {{{File|}}} | {{#if: {{{OP|}}} | <span style="display: inline-block;margin-top: 1em;margin-bottom: 1em;margin-left: 20px;margin-right: 40px;"> | File: [[:File:{{{Filename|}}}|<span style="color:{{#switch: {{{Theme|}}} | Yotsuba = #00e | Yotsuba-B = #34345c | #default = #00e}};">{{{File|}}}</span>]] ({{{FileSize|}}}, {{{FileWidth|}}}x{{{FileHeight|}}})
| {{#if: {{{File|}}} | <span style="border:none;float:left;position:relative;left:20px;">{{#ifexpr: {{{FileWidth|}}} > 250 | [[File:{{{Filename|}}}{{!}}250px]] | {{#ifexpr: {{{FileHeight|}}} > 250 {{!}} [[File:{{{Filename|}}}{{!}}250px]] {{!}} [[File:{{{Filename|}}}]]}} }}</span>}}<span style="display: block;margin-top: 1em;margin-bottom: 1em;margin-left: 40px;margin-right: 40px;float:left;">{{{Quote|}}}<br />{{#if: {{{Ban|}}} | <br /><strong style="color:red;">({{{Ban|}}})</strong>}}{{#if: {{{Ban2|}}} | <br /><br /><strong style="color:red;">({{{Ban2|}}})</strong> | </span>}}{{#if: {{{Ban3|}}} | <br /><br /><strong style="color:red;">({{{Ban3|}}})</strong> | </span>}}{{#if: {{{Ban4|}}} | <br /><br /><strong style="color:red;">({{{Ban4|}}})</strong> | </span>}}{{#if: {{{Ban5|}}} | <br /><br /><strong style="color:red;">({{{Ban5|}}})</strong> | </span>}}
{{!}}-
{{!}} <div style="border:none;float:left;position:relative;left:20px;">{{#ifexpr: {{{FileWidth|}}} > 125 | [[File:{{{Filename|}}}{{!}}125x125px]] | {{#ifexpr: {{{FileHeight|}}} > 125 | [[File:{{{Filename|}}}{{!}}125x125px]] | [[File:{{{Filename|}}}]]}} }}</div><span style="display: inline-block;margin-top: 1em;margin-bottom: 1em;margin-left: 40px;margin-right: 40px;">}}}}{{#if: {{{File|}}} | | <span style="display: inline-block;margin-top: 1em;margin-bottom: 1em;margin-left: 40px;margin-right: 40px;">}}{{{Quote|}}}{{#if: {{{Fortune|}}} | <br /><br /><span style="color:{{{FortuneColor|}}};"><b>Your Fortune: {{{Fortune|}}}</b></span>}}{{#if: {{{Ban|}}} | <br /><br /><strong style="color:red;">({{{Ban|}}})</strong>}}{{#if: {{{Ban2|}}} | <br /><br /><strong style="color:red;">({{{Ban2|}}})</strong>}}{{#if: {{{Ban3|}}} | <br /><br /><strong style="color:red;">({{{Ban3|}}})</strong>}}{{#if: {{{Ban4|}}} | <br /><br /><strong style="color:red;">({{{Ban4|}}})</strong>}}{{#if: {{{Ban5|}}} | <br /><br /><strong style="color:red;">({{{Ban5|}}})</strong>}}</span>
|}
|}


<noinclude>{{usage|1=This is a fancy quotebox using 4chan's Yotsuba CSS.<br />'''<br />The format for using this template is as follows:<br />
<noinclude>{{usage|1=This is a fancy quotebox using 4chan's Yotsuba CSS.<br />'''<br />The format for using this template is as follows:<br />
* <code>Theme</code> can be <code>Yotsuba</code> or <code>Yotsuba-B</code>. Defaults to <code>Yotsuba</code> if not specified.
* <code>OP</code> if present, the quote will resemble an inline OP quote. The file information will be above the post information and the image thumbnail will be twice the normal size.
* <code>Subject</code>
* <code>Name</code>
* <code>Tripcode</code>
* <code>Capcode</code> can be <code>admin</code>, <code>mod</code>, <code>manager</code>, <code>developer</code>, <code>founder</code>, or <code>verified</code>.
* <code>Pass</code> is the year of the pass.
* <code>FlagFile</code> is the two-digit code from [https://commons.wikimedia.org/wiki/Famfamfam%20flag%20icons here] (for geoflags) or [[Flags#Current_board_flags_on_/pol/|here]] for memeflags. Most country flags aren't uploaded to this wiki yet.
* <code>FlagName</code> is the full country/memeflag name.
* <code>ID</code>
* <code>Date</code> is written as <code>Month/Day/Year(Day of the week) Hour:Minute:Second</code>.
* <code>PostNo</code>
* <code>ArchiveLink</code>
* <code>Quote</code>: The formatting works best when using <code><nowiki><br /></nowiki></code> for newlines. For greentext use [[Template:GreentextQuote]]. Example: <code><nowiki>{{GreentextQuote|>be 17<br />>miss}}</nowiki></code>.
* <code>File</code> is the file that's on this wiki.
* <code>Filename</code> is the filename as it was on the quoted post.
* <code>FileSize</code>
* <code>FileWidth</code>
* <code>FileHeight</code>
* <code>Ban</code>: parenthesis aren't required. There is also <code>Ban2</code> through <code>Ban5</code> for rare multi-ban posts.
* <code>Fortune</code>
* <code>FortuneColor</code>: use inspect element to get this


Example: <pre><nowiki>{{PostQuote
Example: <pre><nowiki>{{PostQuote
Line 46: Line 21:
|Tripcode=!TcT.PTG1.2
|Tripcode=!TcT.PTG1.2
|Capcode=mod
|Capcode=mod
|FlagFile=An
|CountryCode=An
|FlagName=Netherlands Antilles
|Country=Netherlands Antilles
|ID=+f4gG0t/
|ID=+f4gG0t/
|Date=01/01/70(Thu)00:00:00
|Date=01/01/70(Thu)00:00:00
Line 56: Line 31:
|FileWidth=300
|FileWidth=300
|FileHeight=300
|FileHeight=300
|Quote=moot is a fag<br />line 2<br />line 3
|Quote=moot is a fag
|Ban=USER WAS BANNED FOR THIS POST
 
|Fortune=キタ━━━━━━(゚∀゚)━━━━━━ !!!!
asdf
|FortuneColor=#00cbb0}}</nowiki></pre>
|Ban=USER WAS BANNED FOR THIS POST}}</nowiki></pre>


- Displays: {{PostQuote|Theme=Yotsuba-B|Subject=moot hate thread|Name=W.T. Snacks|Tripcode=!TcT.PTG1.2|Capcode=mod|FlagFile=An|FlagName=Netherlands Antilles|ID=+f4gG0t/|Date=01/01/70(Thu)00:00:00|PostNo=9001|File=Trollface.jpg|Filename=trollface.jpg|FileSize=56 KB|FileWidth=300|FileHeight=300
- Displays: {{PostQuote|Theme=Yotsuba-B|Subject=moot hate thread|Name=W.T. Snacks|Tripcode=!TcT.PTG1.2|Capcode=mod|CountryCode=An|Country=Netherlands Antilles|ID=+f4gG0t/|Date=01/01/70(Thu)00:00:00|PostNo=9001|File=Trollface.jpg|Filename=trollface.jpg|FileSize=56 KB|FileWidth=300|FileHeight=300
|Quote=moot is a fag<br />line 2<br />line 3|Ban=USER WAS BANNED FOR THIS POST|Fortune=キタ━━━━━━(゚∀゚)━━━━━━ !!!!|FortuneColor=#00cbb0}}
|Quote=moot is a fag


Example: <pre><nowiki>{{PostQuote
asdf
|OP=yes
|Ban=USER WAS BANNED FOR THIS POST}}
|Name=Garlic Salt
'''Important notes:'''
|Date=07/26/23(Wed)22:11:12
* <code>Theme</code> can be <code>Yotsuba</code> or <code>Yotsuba-B</code>. Defaults to <code>Yotsuba</code> if not specified.
|ArchiveLink=https://archive.4plebs.org/s4s/thread/10945642
* <code>Capcode</code> can be <code>admin</code>, <code>mod</code>, <code>manager</code>, <code>developer</code>, <code>founder</code>, or <code>verified</code>.
|PostNo=10945642
* <code>Pass</code> is the year of the pass.
|Quote={{GreentextQuote|>two same numbers!}}
* For <code>CountryCode</code> is the two-digit code from [https://commons.wikimedia.org/wiki/Famfamfam%20flag%20icons here] (for geoflags) or [[Flags#Current_board_flags_on_/pol/|here]] for memeflags. Most country flags aren't uploaded to this wiki yet.
|Filename=PepeAnnoyed.png
* <code>Date</code> is written as <code>Month/Day/Year(Day of the week) Hour:Minute:Second</code>.
|File=1673177255226088.png
* <code>Quote</code>: For greentext use [[Template:Greentext]]. Example: <code><nowiki>{{Gt|be 17|miss}}</nowiki></code>. {{Gt|be 17|miss}}
|FileSize=112 KB
* <code>File</code> is the file that's on this wiki. <code>Filename</code> is the filename as it was on the quoted post.
|FileWidth=306
* <code>File</code> should be formatted as: <code><nowiki>[[File:filename.png|250px]]</nowiki></code>. Example: <code><nowiki>[[File:PepeAnnoyed.png|250px]]</nowiki></code>.
|FileHeight=306
|Ban=two same bans!
|Ban2=two same bans!}}</nowiki></pre>


- Displays: {{PostQuote|OP=yes|Name=Garlic Salt|Date=07/26/23(Wed)22:11:12|ArchiveLink=https://archive.4plebs.org/s4s/thread/10945642|PostNo=10945642|Quote={{GreentextQuote|>two same numbers!}}|Filename=PepeAnnoyed.png|File=1673177255226088.png|FileSize=112 KB|FileWidth=306|FileHeight=306|Ban=two same bans!|Ban2=two same bans!}}
{{PostQuote||Name=Garlic Salt|Date=07/26/23(Wed)22:11:12|ArchiveLink=https://archive.4plebs.org/s4s/thread/10945642|PostNo=10945642|Quote={{Gt|>two same numbers!}}|Filename=PepeAnnoyed.png|File=1673177255226088.png|FileSize=112 KB|FileWidth=306|FileHeight=306|Ban=two same bans!|Ban2=two same bans!}}
}}
}}
Please note that all contributions to Bibliotheca Anonoma are considered to be released under the Creative Commons Attribution-ShareAlike (see Bibliotheca Anonoma:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)