Template:PostQuote Yotsuba: Difference between revisions
From Bibliotheca Anonoma
mNo edit summary |
(improved flag, file, and bantext handling) |
||
Line 2: | Line 2: | ||
{| id="PostQuote_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;" | {| id="PostQuote_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;" | ||
|- | |- | ||
| <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: #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> }} {{{ | | <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: #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:maroon;">No.{{{PostNo|}}}]</span> | [https:/// <span style="color:maroon;">No.{{{PostNo|}}}]</span>}} <span style="color: #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_Yotsuba#Usage|<span style="color:#d9bfb7">?</span>]]</span><br />{{#if: {{{File|}}} | [[:File:{{{File|}}}|<span style="color:#00e;">{{{File|}}}</span>]] ({{{FileSize|}}}, {{{FileWidth|}}}x{{{FileHeight|}}})}} | ||
| | |||
| <span style=" | |||
|- | |- | ||
| {{#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>}} | |||
|} | |} | ||
Line 20: | Line 19: | ||
|Name=W.T. Snacks | |Name=W.T. Snacks | ||
|Tripcode=!TcT.PTG1.2 | |Tripcode=!TcT.PTG1.2 | ||
| | |Pass=2003 | ||
|ID= | |CountryCode=An | ||
|Country=Netherlands Antilles | |||
|ID=+f4gG0t/ | |||
|Date=01/01/70(Thu)00:00:00 | |Date=01/01/70(Thu)00:00:00 | ||
|PostNo=9001 | |PostNo=9001 | ||
|FileInfo=File: [[:File:Trollface.jpg|<span style="color:#00e;">trollface.jpg</span>]] (56 KB, 300x300) | |FileInfo=File: [[:File:Trollface.jpg|<span style="color:#00e;">trollface.jpg</span>]] (56 KB, 300x300) | ||
Line 30: | Line 30: | ||
|Ban=<br /><strong style="color:red;">(USER WAS BANNED FOR THIS POST)</strong>}}</nowiki></pre> | |Ban=<br /><strong style="color:red;">(USER WAS BANNED FOR THIS POST)</strong>}}</nowiki></pre> | ||
- Displays: {{PostQuote_Yotsuba|Subject=moot hate thread|Name=W.T. Snacks|Tripcode=!TcT.PTG1.2|Pass=2003| | - Displays: {{PostQuote_Yotsuba|Subject=moot hate thread|Name=W.T. Snacks|Tripcode=!TcT.PTG1.2|Pass=2003|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 | |||
asdf | |||
|Ban=USER WAS BANNED FOR THIS POST}} | |||
'''Important notes:''' | '''Important notes:''' | ||
* Capcode can be <code>admin</code>, <code>mod</code>, <code>manager</code>, <code>developer</code>, <code>founder</code>, and <code>verified</code>. | * Capcode can be <code>admin</code>, <code>mod</code>, <code>manager</code>, <code>developer</code>, <code>founder</code>, and <code>verified</code>. | ||
Line 42: | Line 46: | ||
* <code>File</code> should be formatted as: <code><nowiki>[[File:filename.png|250px]]</nowiki></code>. Example: <code><nowiki>[[File:PepeAnnoyed.png|250px]]</nowiki></code>. | * <code>File</code> should be formatted as: <code><nowiki>[[File:filename.png|250px]]</nowiki></code>. Example: <code><nowiki>[[File:PepeAnnoyed.png|250px]]</nowiki></code>. | ||
{{PostQuote_Yotsuba||Name=Garlic Salt|Date=07/26/23(Wed)22:11:12|ArchiveLink=https://archive.4plebs.org/s4s/thread/10945642|PostNo=10945642|Quote= | {{PostQuote_Yotsuba||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!}} | ||
|Ban= | |||
}} | }} |
Revision as of 19:04, 18 October 2023
This page is a template. It contains no Bibliotheca Anonoma-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.
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:
Example:
{{PostQuote_Yotsuba |Date=01/01/70(Thu)00:00:00 |PostNo=9001 |Quote=moot is a fag}}
- Displays:
![]() |
moot is a fag |
Example:
{{PostQuote_Yotsuba |Subject=moot hate thread |Name=W.T. Snacks |Tripcode=!TcT.PTG1.2 |Pass=2003 |CountryCode=An |Country=Netherlands Antilles |ID=+f4gG0t/ |Date=01/01/70(Thu)00:00:00 |PostNo=9001 |FileInfo=File: [[:File:Trollface.jpg|<span style="color:#00e;">trollface.jpg</span>]] (56 KB, 300x300) |File=[[File:Trollface.jpg|250px]] |Quote=moot is a fag<br /><br />asdf |Ban=<br /><strong style="color:red;">(USER WAS BANNED FOR THIS POST)</strong>}}
- Displays:
![]() ![]() ![]() Trollface.jpg (56 KB, 300x300) |
![]() asdf |
Important notes:
- Capcode can be
admin
,mod
,manager
,developer
,founder
, andverified
. - Remember the ! or !! at the start of tripcodes.
- For
Pass
just enter the year of the pass. - For
Flag
, use the following framework:[[File:filename.gif|Flag Name]]
. Example:[[File:An.gif|Netherlands Antilles]]
. See here for the list of country flags, and here for a list of the memeflags. Most country flags aren't uploaded to this wiki yet. - Write
ID
exactly like 4chan does. Example:(ID: +f4gG0t/)
. - Write
Date
exactly like 4chan does. Example:07/26/23(Wed)22:11:12
. The order is:Month/Day/Year(Day of the week) Hour:Minute:Second
. Quote
: replace newlines with<br />
. For >greentext, wrap green lines like<span style="color:#789922;">>green here</span>
. Example:<span style="color:#789922;">>be 17</br />>miss</span>
.FileInfo
should be formatted as:[[:File:filename.png|<span style="color:#00e;">4chan filename.png</span>]] (69 KB, 69x69)
. Example:[[:File:PepeAnnoyed.png|<span style="color:#00e;">1673177255226088.png</span>]] (112 KB, 306x306)
.File
should be formatted as:[[File:filename.png|250px]]
. Example:[[File:PepeAnnoyed.png|250px]]
.
![]() 1673177255226088.png (112 KB, 306x306) |
![]() >two same numbers! (two same bans!) (two same bans!) |