Template:PostQuote: Difference between revisions

From Mulpwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
| {{#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|}}})}}
| {{#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="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: {{{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|}}} | {{#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|}}})
{{!}} <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|}}}|{{{FlagName|}}}]]}} {{#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|}}} | {{#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|}}})
{{!}}-
{{!}}-
{{!}}  <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>
{{!}}  <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>
Line 18: Line 18:
* <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>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>Pass</code> is the year of the pass.
* <code>CountryCode</code> is a filename from [https://commons.wikimedia.org/wiki/Famfamfam%20flag%20icons here] (for geoflags) or [[Flags|here]] for the /mlp/ flags.
* <code>FlagFile</code> is a filename from [https://commons.wikimedia.org/wiki/Famfamfam%20flag%20icons here] (for geoflags) or [[Flags|here]] for the /mlp/ flags.
* <code>Country</code> is the full country/memeflag name.
* <code>Country</code> is the full country/memeflag name.
* <code>ID</code>
* <code>ID</code>
Line 46: Line 46:
|Tripcode=!TcT.PTG1.2
|Tripcode=!TcT.PTG1.2
|Capcode=mod
|Capcode=mod
|CountryCode=Icons-flag-kp
|FlagFile=Icons-flag-kp.png
|Country=North Korea
|FlagName=North Korea
|ID=+f4gG0t/
|ID=+f4gG0t/
|Date=01/01/70(Thu)00:00:00
|Date=01/01/70(Thu)00:00:00
Line 61: Line 61:
|FortuneColor=#00cbb0}}</nowiki></pre>
|FortuneColor=#00cbb0}}</nowiki></pre>


- Displays: {{PostQuote|Theme=Yotsuba-B|Subject=moot hate thread|Name=W.T. Snacks|Tripcode=!TcT.PTG1.2|Capcode=mod|CountryCode=Icons-flag-kp|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
- Displays: {{PostQuote|Theme=Yotsuba-B|Subject=moot hate thread|Name=W.T. Snacks|Tripcode=!TcT.PTG1.2|Capcode=mod|FlagFile=Icons-flag-kp.png|FlagName=North Korea|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<br />line 2<br />line 3|Ban=USER WAS BANNED FOR THIS POST|Fortune=キタ━━━━━━(゚∀゚)━━━━━━ !!!!|FortuneColor=#00cbb0}}



Revision as of 12:42, 19 October 2023

Template:Template

This is just here to make it look like an actual 4chan post Anonymous No. ?

Usage

These usage notes will not be included in articles bearing this template.

This is a fancy quotebox using 4chan's Yotsuba CSS.

The format for using this template is as follows:

  • Theme can be Yotsuba or Yotsuba-B. Defaults to Yotsuba if not specified.
  • OP 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.
  • Subject
  • Name
  • Tripcode
  • Capcode can be admin, mod, manager, developer, founder, or verified.
  • Pass is the year of the pass.
  • FlagFile is a filename from here (for geoflags) or here for the /mlp/ flags.
  • Country is the full country/memeflag name.
  • ID
  • Date is written as Month/Day/Year(Day of the week) Hour:Minute:Second.
  • PostNo
  • ArchiveLink
  • Quote: The formatting works best when using <br /> for newlines. For greentext use Template:GreentextQuote. Example: {{GreentextQuote|>be 17<br />>miss}}.
  • File is the file that's on this wiki.
  • Filename is the filename as it was on the quoted post.
  • FileSize
  • FileWidth
  • FileHeight
  • Ban: parenthesis aren't required. There is also Ban2 through Ban5 for rare multi-ban posts.
  • Fortune
  • FortuneColor: use inspect element to get this

Example:

{{PostQuote
|Date=01/01/70(Thu)00:00:00
|PostNo=9001
|Quote=moot is a fag}}

- Displays:

This is just here to make it look like an actual 4chan post Anonymous 01/01/70(Thu)00:00:00 No.9001 ?
moot is a fag


Example:

{{PostQuote
|Theme=Yotsuba-B
|Subject=moot hate thread
|Name=W.T. Snacks
|Tripcode=!TcT.PTG1.2
|Capcode=mod
|FlagFile=Icons-flag-kp.png
|FlagName=North Korea
|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}}

- Displays:

This is just here to make it look like an actual 4chan post moot hate thread W.T. Snacks !TcT.PTG1.2 ## Mod This user is a 4chan Moderator. North Korea (ID: +f4gG0t/) 01/01/70(Thu)00:00:00 No.9001 ?
File: Trollface.jpg (56 KB, 300x300)
moot is a fag
line 2
line 3

Your Fortune: キタ━━━━━━(゚∀゚)━━━━━━ !!!!

(USER WAS BANNED FOR THIS POST)


Example:

{{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!}}

- Displays:

File: 1673177255226088.png (112 KB, 306x306)
File:PepeAnnoyed.pngThis is just here to make it look like an actual 4chan post Garlic Salt 07/26/23(Wed)22:11:12 No.10945642 ?
>two same numbers!

(two same bans!)

(two same bans!)