- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
User:Disassemblyline/SJIS: Difference between revisions
Jump to navigation
Jump to search
imported>Disassemblyline anyways |
imported>Disassemblyline anyways |
||
(No difference)
|
Revision as of 18:30, 22 September 2022
_\ Y O _ノ> O Yヽ//_
___\γ⌒/⌒ゝ./ . \。乂 ,ノ }`ヽ>
\ ヽ乂 O ノ 乂__ノ乂___人八ノ丁ゝ--'ー O ノヽ
⌒ヽ_〈 、__)人ノ-(人/:.:∨:.:.:.:.:.:乂ノ\)__人ノー'
.γ__ゝ 。入_ノ:.!ハノ: / ! ヽヽ ;
i:.(人)Y ハ|:/:.: /./:.:.:.: |:.:.l:.:.:.:.:|:.:l:.:.:|ヽ:.:.:.:.:.:. i:.i:.:.:.:.:;
.i :( )lノ.:. :ii:.:. |:.|:.:|:|:.:.|.:.:|!:. !:!|:.:|:.: l:. |:.:.:.:.:.:.:|:.|:.:.:l: ;
i |( ):´:.:i:.:.:.:.:|i:.:. |:.!:.:|:|:.:.|.:.:|!.: !:!|:.:|.:._!__|___!:.:.: |:.|:.:.:|: |
| |::::i:.:.:.:i:. :.:.:|i:.:._L|=T厂「.:.|.:.ノ:|L l´_| L;,;l丶:.|:.|:.:.:|:.:!
| |::::i:.:.:.:i:. :.:.:|l_´jL|=―  ̄  ̄ __z,,__ `丶!_!: リ:.:!
!.|::ノ:.:.:.:.i: .:.:.:i _zア⌒`丶 イ⌒:.`ヽ ,';ノノ j/
._,、:':/:.:.:.:. i: .:.:.:i.〃{::ら:::} らノ:} }}`i::::::ト、
 ̄ /:.:.:.:.:.:.:.:.:.:.:.:iヽ つ:::ノ ゝ-'_,、 l::::人
/:.:ノ人\ヽ :.:\ `¨¨´ 、 "" !リ
 ̄ ´ \ ヽ\ヽ """ ' 八
}:.}: ̄:ヽ ___,
;.:ハ:::::::::丶. ` ̄ ..... .イ
ノ' }.:.:リ::::::〕 、 .イ::;′
ノ'|:/}:::::ノ} ` <!:::::|/
ノ' ノ// !:\
/::::〈 !\::`:..、
/:::::::::::::ヽ ! |::::::::::`:...、
|
About
What it does
- Helps make complex SJIS art show up properly
- Can be expanded
Basic usage
- {{ User:Disassemblyline/SJIS | sjis=<nowiki>a big mess</nowiki> }}
Extras usage
- {{ User:Disassemblyline/SJIS | sjis=<nowiki>a big mess</nowiki> | fonts=css font-family property | fontsize=css font-size property | lineheight=css line-height property | background=css background property | border=css border property | padding=css padding property | centering=yes | width=37em | css=additional css }}
Notes
Styling
Params used on the table / "holder"
- background
- border
- centering (works only as a boolean, use yes or no rather than true or false)
- width can be accessed when specifying either centering=yes or centering=no, the latter probably wont help much...but its still there
- margin can only be accessed when specifying centering=no
- css (additional css that isnt specified, eg overflow: scroll;)
- padding
Params used on the div / "content"
- fonts
- fontsize
- lineheight
Other notes about centering
- If the centering parameter is used, you should also use width parameter to fine tune the position, otherwise it will default to 37em
- Any sizing format can be used for width, eg px, em, %, etc
- As a forewarning, don't text-align: center; in the additional css parameter, youre defying the laws of physics
Other
- The SJIS needs to be wrapped in nowiki tags to ensure that no characters are mistaken, eg | is a line to us but it's actually a pipe to MediaWiki
- Regular spaces do not (read: sometimes but rarely) work, eg hitting the spacebar on an English keyboard. Use this character (underlined to show it):
- Another trick to work around spacing issues is to use small characters, such as the period.
- Padding and margins are now possible
- Any sizing format can be used for padding or margins, eg px, em, etc
- margins only work when centering=no
- Fonts are prescaled to 12pt, you can change this using the fontsize param
- Any sizing format can be used, eg px, em, pt, etc
- You can add additional fonts if you want, add commas in between these much like you would with css. Here's a list of whats already supported in the template:
- MS PGothic
- MS Pゴシック
- IPAMonaPGothic
- MS UI Gothic
- Hiragino Kaku Gothic Pro
- ヒラギノ角ゴ Pro W3
- Hiragino Kaku Gothic ProN
- ヒラギノ角ゴ ProN W3
- Meiryo
- メイリオ
- Osaka
- sans-serif
- !important is already used, so don't write this out
- MS PGothic
- Additional fonts will be called before the above default fonts
- Mona font is not specified by default because at times it doesn't help, but you can still call it by piping fonts=Mona
- Be careful with stretching the width beyond the screen area, choose the minimum width required. Theres no point in scrolling to the right just to see SJIS, lern2scale
- As a general rule of thumb, don't go beyond 1000 or so pixels in width, a lot of screens go beyond this but at the same time a lot don't
TODO
- Possibly add the ability to float the element itself
- Go by relative or absolute, also left, right, top, bottom, etc. That kinda thing
Examples
Easy
Nyan Cat
░░▓▓░░░░░░░░▓▓░░
░▓▒▒▓░░░░░░▓▒▒▓░
░▓▒▒▒▓░░░░▓▒▒▒▓░
░▓▒▒▒▒▓▓▓▓▒▒▒▒▓░
░▓▒▒▒▒▒▒▒▒▒▒▒▒▒▓
▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
▓▒▒▒░▓▒▒▒▒▒░▓▒▒▓
▓▒▒▒▓▓▒▒▒▓▒▓▓▒▒▓
▓▒░░▒▒▒▒▒▒▒▒▒░░▓
▓▒░░▒▓▒▒▒▓▒▓▒░░▓
░▓▒▒▒▓▓▓▓▓▓▓▒▒▓░
░░▓▒▒▒▒▒▒▒▒▒▒▓░░
░░░▓▓▓▓▓▓▓▓▓▓░░░
|
{{User:Disassemblyline/SJIS|lineheight=0.8|sjis=<nowiki>content</nowiki>}}
Tablecat
∧_∧ / ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
( ´∀`) < welcome to my websight
/ | \________
/ .|
/ "⌒ヽ |.イ |
__ | .ノ | || |__
. ノく__つ∪∪ \
_((_________\
 ̄ ̄ヽつ ̄ ̄ ̄ ̄ ̄ ̄ | | ̄
___________| |
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄| |
|
{{User:Disassemblyline/SJIS|fontsize=10pt|fonts=Mona|lineheight=1.25|sjis=<nowiki>content</nowiki>}}
...or...
Disassemblyline 22:42, 9 September 2022 (EDT) | |
|
{{SUBST:4chanpost|{{User:Disassemblyline/SJIS|fontsize=10pt|fonts=Mona|lineheight=1.25|sjis=<nowiki>content</nowiki>}}}}
Welcome to Rei's
-‐‐- 、
/ ヽ
! ! 人|,.iノl_ノ)
i 乂-‐ -! i Sorry, we're all out of that.
\ヽ .ゞ - ノノ
``フ i´
/ \ノゝ
/__i |丱!|
━━つ━つ━━∞∞∞========
== THE REI'S DINER ==
∞∞∞∞∞∞∞∞∞∞∞∞∞∞
|
{{User:Disassemblyline/SJIS|fontsize=10pt|fonts=Mona|lineheight=1.25|sjis=<nowiki>content</nowiki>}}
...or...
Disassemblyline 22:42, 9 September 2022 (EDT) | |
|
{{SUBST:4chanpost|{{User:Disassemblyline/SJIS|fontsize=10pt|fonts=Mona|lineheight=1.25|sjis=<nowiki>content</nowiki>}}}}
Intermediate
Kirby
, - 、
,. - ―――- 、/ i
/ _ _ |
/ .んl .ん! 、_,./
, -‐イ ト j ト;イ i
{ | ` r― ┐´ |
ヽ、| ヽ _ノ !
, -‐ ┴‐- 、 /
( \ , イ
\ ヽ / !
ヽ、 }ー-┬ ' l
` ー--‐ ' l |
ヽ、___ .ノ
|
{{User:Disassemblyline/SJIS|sjis=<nowiki>content</nowiki>}}
Index
①
|
j
{
`'ー-----‐
②
| ri ri
j U U
{ Tフ
`'ー-----‐
③
___{二二二二}
`7 , /|/\|、 ヽ
'イ/ ri riヽ八}
'j U U
{ Tフ
` ー-----‐
④
/, ̄ ̄ ̄ ̄⌒ヽ,
_{,{二二二二} i
`7 , /|/\|、 ヽ |
'イ/ ri riヽ八} |
/ j U U | 、
' { Tフ | ヽ
{ ` ー-----‐ | \
⑤
/, ̄ ̄ ̄ ̄⌒ヽ,
_{,{二二二二} i
`7 , /|/\|、 ヽ |
'イ/ ri riヽ八} |
/(j U U | |), 、
' { Tフ | |ハ ヽ
{ `iTフTTフ¨| |、_,} \
|
{{User:Disassemblyline/SJIS|sjis=<nowiki>content</nowiki>}}
Panty & Stocking with Garterbelt
∧ 、 /´\ __ / `ヽ
、 _ l \__} ヽ .ィ´  ̄  ̄ `ヽ l
.\  ̄ ` ヽ 〉ー-.、 / , ∨
> ,.イ / \ ,′ /i /| ,'| ハ
< ___ / | / `ヽ 〉 i__/.」__i_|___l」_ l
r ,' 「::} |/ 「::} V ′ | |: :i |:::l |:::l | |
.V └′ └′ ,}_ / | |::ノ└′ └′| l
.ヽ 、 ̄ フ __丿l | l::.、 、 ̄ フ .| |
.>‐,-=´-< 人_, | |: : :>‐,-=´-<: | |
/ / j| j| ハ 、 ノ | l: : : : :/:::::∧::::::::ハ:| |
ヽ ̄ l |`ー ´ | l、 lヽ. _> | |: : : : l=l::::介:::::::i=l| |
|
{{User:Disassemblyline/SJIS|sjis=<nowiki>content</nowiki>}}
Complex
Yin
ll| //
ll|」ヽl /‐ ー-‐ 7__
ll| -、 ノl__ <
ll| ヘ∨A `\ ヽ
ll|―‐`'- .ヽ `ー゙ァ
ll| `ヽ ヾ
ll|: ', ',
ll|: ハ__ハ ', i
ll| l l/ lヽ :i. |
ll|: オ=‐-!、 ,! r、!
ll|、 l、__ツ/ ,.イ !
ll|_\l ∠ィ´ /
ll|ニT_チ´ , ハ /
ll| ::::_ヾ /!/ l/
rうー、::λ′
Y゙:::::::ヾ::!
lヽ::::::::::!:|
ll|: \;_;:ノ
ll| , ヽ、
ll| \
ll| '、 ` ‐r、
ll| \ /l´
ll|: ,,>'゙l┘
ll|___,,.. イヽ厂
ll|Vヽ/`''┘
|
{{User:Disassemblyline/SJIS|sjis=<nowiki>content</nowiki>}}
Mudkipz
._.. - ..,,
: ,/´ !`''-、
,,il" ! `'、
,i′ l l l
./ .', :| ',
l゙ ', | :|
.l ', : ! :|
: | ! .| l
: | : ', | |
! ! .! !
.! ', ! .',
! .! .l !
! ', | .|
.', l ! ,!
l ', |
. l :} : .,..-'''"⌒゙''-.
ヽ ゙'― ..,、 : , / l
: ,',, `''-、 / :|
. / " \ / _|
: ./ \ / _..-'"゛ l゙
. / ヽ / _/゛ .!
/ ,iil!!lli, ,..-ー''''''ー 、..ヽ ,,,..、 ../ . / :|
: .i!';; illll..,,llll ,/ ,゙r'"゛ l / . / ,!
;:|;||/ lllllllllllll゛ / .-'゛ .,' / : ,/ : ,'
i‐!!'" !!llllll!゙ : / : / / ./ /
: | ::.::. ! -!- ....,,_ / ./ i′
: l ,,,.. ---―――----..........,,,__, l゙ `゙''ー/ ./ /
ヽ,|゛ /  ゙̄'| ,,iイ .../ l
`'-、 / . ! ._..-'´ `'、、 / /
: ゙゙''ッ,,, / ! : l -'" `''l′ /
.!、 `'''i / .l | ヽ ,i′
\ :;|; ./ .,,'、 ゙''-.., ! ヽ /
`,'.l ! / \ / `''ー ′ ゙l―- ..........--ー''''フ゛
:l│ .! . / `''''ッ-ー'゛ ゙l、 /
ゝ\、 | ._,..-'" .、 ゛.l l . /
`''-ミ,゙"'"゙゙´ ._,,,../ '" / | 、.... -‐´
: ,./ : `゙゙゙"''''^゙゙´ ゙'l 、, / : ,ィ,,,,,,,,,」、 |
..,/゛ / `'/゙ : ,i_.. -'" ヽ !
/゙../ / ..,..-'" / ,、 .、 . / ./ .ヽ 、 、 !
ゝ',,,,,l__,,,,.. -'''゙´ / / ./ ,,∠ -'´ ヽ │ . l./
゙'- ,'...... ―'"゛ `''゙‐'´
|
{{User:Disassemblyline/SJIS|sjis=<nowiki>content</nowiki>}}
Ayu
/:.:.:.:.:.:./:.:.:.:.:.:.:.,:.:.:.:.:.:.:.:.:.:.:.:.:.:..:.:.:.:.:.:゛、:.:.:゛、:.:.:.:.:.:ヽ:.:.:.:.',:.:.:.:.:.:.:ヽ
./.:.:.:.:.:.:/.:/:.:.:./:.,!:.:.:.:.:.:.:.:.:.!:.:.:.:`、:.',:.:.:.:.i:.:.:.:.:.、:.:.:.:.:.:.:.゛,:.:.:.:',:.:.:.:.:.:.:.`、
/.:.:.:.:.:.:/:.:,':.:.:.:i:.:.:!:.::i:.:.:.:.:.:.:.!:.:.:.:.:.!:.:.lヽ:.:.:i、:.:.:.:i:.:.:.:.::.:.:.:.:!:.:.:.::!:.:.:.:.:.:.:.:.',
/:.:.:./:.:/:.:.:l:.:.:.:.:i:.:.l:.:.i:.:.:.:.:i!:.:ト、:.::.ハ:.:l ヽ:..:!ヽ:.:.:l、:.:.:.:.:.:.::.:!:.:.:.:.:!:.:.:.:.:.:.:.:`,
!:.:.:/:.:.,':.:.:.:l:.:.:.:.ハ:.:l:.:.i:.:.:.:.:i!:.:!ヽ:.:.:l l:.:! ヽ:.l `、:l l:.:.:.:.:.:.:.:.!:.:.:.:.:!:.:.:.:.::::.:.:::',
.!:.:/:.::::l:.:.:.:.:、:.::.!ヽ:l、:.ヽ:.:.:.i!:/ `,:.:.l-!:l.  ̄ヾ!`ヽ:!+、:.:.:.:.:.:.:!:.:.:.:.:`,:.:.:.::::::.:::::!
l:./:.:.::::l:.:.:.:.:ヽ, -!-ヽ!、:゛、:.:N .!:/ .ソ , ==== 、i!.,|:.:.:.:.:.::::i:.:.:.:.:.:.l:.:.:.::::::.:.::::l
l/:.:.:.:.::!:.:.:.:.:∧:.:l , == '、.N.:.:゛、.l/ ,r'~ ,':r‐ゥヽ`'ヽ:.:.:.:.:.:::!:.:.:.:.:.:l:.:.:.:.::::::.:.::::!
!:/:.:::/l:.:.:.:.:.ト、ミX ,.'r'jヾヽ\:`、 i:::`;´;::::! l:.:.:::.::::/:.:.:.:.::::l:.:.:.:.:::::::.:::::',
.l:.!:.:.:.l:.:!:.:.:.:.,':.ヾ. ',::`;;;::i `` ヾ:::'''':::ノ !:.:.::::::,':.:.:.:.::.:::l:::.:.:.::::::::.::::::l
.l:.!:.:.:.l:.:l:.:.:.:.i:.:.:.ヽ ヾ:::'':::! `ー‐'' l:.::.:.:::,':.:.:.:.:.:.:.,':.:.:.:::::::::::.::::::!
.l:i!:.::::l:.:',:.:::.:ト、:.:.:ヽ `ー' , !:.:::::.,l:.:.::.:.:.:.:,':.:.::.:.:::::::::::::::::l
!l',:.:::l、.`、:.ヽヽ:.:.:゛,. 〈 /::::::/,':.:.::.:.:::.i:.:.:.::.::::::::::::::::::::!
l! 、:.:.!l:.:`、:.:i:.:l:.::::::! _,,. -‐' /:::::://:.:.:.:.:.:::/:.:.:::.::::::::::::::::::::::!
ヽヽ:.:l',:.:ヽ:.::i:.:.!:.:.:.:\ ` /:::::.//:.:.:.:.:.:::/:::::::::..:::::::::::::::::::::`,
゛、ヽlヽ:.ヽ:.:ヽi!:.:.:::::::l`..、 ,/:.:::, '/:.:.:.:.:.:.::/:.:.:::::::::::::::::::::::::::::::::l
ヽ.ヽ!ヽ:.ヽ:.:X!:.:.:.::.ハ:.:.:.`::...、 , .'/:.::,.' /:.:.:.:.::.:::∧:.゛、:::::::::::::::::::::::::::::l
`' `.ヽ:.:V:.:.l:.:.:.:.,':.!:.:.:::::..:::.`.' --‐'::ヘ /:/ ./:.:.:.:.:.::::/ .゛、:ヽ:.:.:.:.:.:.:::::::::::::::::
ヽ:.ヽ:.!:.:.::,':::i::.:.:::::..::::::::::::::::::, -ヘ':,.'-‐7:.:.:.::.:..:::/ ヽ:.:ヽ:::::::::::::::::::::::::::
\::l:.::::,:.:.:.!:.:.:::.:..::::::r‐ '"´ /.' /:.:.:.::.:.::::/ \:.:ヽ:::::::::::::::::::::::::
|
{{User:Disassemblyline/SJIS|fontsize=16px|sjis=<nowiki>content</nowiki>}}