User talk:SnorlaxMonster/Bulbapedia:To-Do list: Difference between revisions
Active discussions
No edit summary |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
Replace all usages of [http://bulbapedia.bulbagarden.net/w/index.php?title=Special:Search&search=align%3D&fulltext=Search&profile=all&redirs=1 align=] with ''<what you want to replace it>''. {{unsigned|Rsrdaman}} | Replace all usages of [http://bulbapedia.bulbagarden.net/w/index.php?title=Special:Search&search=align%3D&fulltext=Search&profile=all&redirs=1 align=] with ''<what you want to replace it>''. {{unsigned|Rsrdaman}} | ||
:The problem is it's context based. If it is determining the location of a table, it needs to be replaced with <code><nowiki>style="float:left"</nowiki></code> or <code><nowiki>style="float:right"</nowiki></code> if it is <code><nowiki>align=left</nowiki></code> or <code><nowiki>align=right</nowiki></code>, but needs to be replaced with <code><nowiki>style="margin:auto"</nowiki></code> if it is <code><nowiki>align=center</nowiki></code>. If it is aligning text or images, it needs to be replaced with <code><nowiki>style="text-align=<position>"</nowiki></code>. <code><nowiki>valign=<postion></nowiki></code> also needs to be replaced with <code><nowiki>style="vertical-align:<position>"</nowiki></code>. --[[User:SnorlaxMonster|<span style="color:#A70000">'''Snorlax'''</span>]][[User talk:SnorlaxMonster|<span style="color:#0000A7">'''Monster'''</span>]] 06:31, 23 September 2012 (UTC) | :The problem is it's context based. If it is determining the location of a table, it needs to be replaced with <code><nowiki>style="float:left"</nowiki></code> or <code><nowiki>style="float:right"</nowiki></code> if it is <code><nowiki>align=left</nowiki></code> or <code><nowiki>align=right</nowiki></code>, but needs to be replaced with <code><nowiki>style="margin:auto"</nowiki></code> if it is <code><nowiki>align=center</nowiki></code>. If it is aligning text or images, it needs to be replaced with <code><nowiki>style="text-align=<position>"</nowiki></code>. <code><nowiki>valign=<postion></nowiki></code> also needs to be replaced with <code><nowiki>style="vertical-align:<position>"</nowiki></code>. --[[User:SnorlaxMonster|<span style="color:#A70000">'''Snorlax'''</span>]][[User talk:SnorlaxMonster|<span style="color:#0000A7">'''Monster'''</span>]] 06:31, 23 September 2012 (UTC) | ||
::Replace all usages of [http://bulbapedia.bulbagarden.net/w/index.php?title=Special:Search&search=align%3D&fulltext=Search&profile=all&redirs=1 align=] according to the below. | |||
{| {| style="float:left" style="background: #FFFFFF; {{roundy|1em}}; border: 2px solid #000000;" | |||
|- | |||
| | |||
{| border=1 width="100%" style="margin:auto" style="background: #FFFFFF; border:1px solid #000000; border-collapse:collapse;" | |||
|-style="background: #EEEEEE;" | |||
{| | |||
! <u>Align</u> | |||
! <u>Replacement</u> | |||
|- | |||
|<code><nowiki>align=left</nowiki></code> | |||
|<code><nowiki>style="float:left"</nowiki></code> | |||
|- | |||
|<code><nowiki>align=right</nowiki></code> | |||
|<code><nowiki>style="float:right"</nowiki></code> | |||
|- | |||
|<code><nowiki>align=center</nowiki></code> | |||
|<code><nowiki>style="margin:auto"</nowiki></code> | |||
|- | |||
|''Text or image'' | |||
|<code><nowiki>style="text-align=<position>"</nowiki></code> | |||
|- | |||
|<code><nowiki>valign=<postion></nowiki></code> | |||
|<code><nowiki>style="vertical-align:<position>"</nowiki></code> | |||
|} | |||
|} | |||
Maybe something like this?--[[User:Rsrdaman|<span style="color:#000000">'''×Rsr'''</span>]][[User_Talk:Rsrdaman|<span style="color:#0000A7">'''daman×'''</span>]] 07:17, 23 September 2012 (UTC) | |||
:I like that idea, but I don't like your table. I made my own and added it. --[[User:SnorlaxMonster|<span style="color:#A70000">'''Snorlax'''</span>]][[User talk:SnorlaxMonster|<span style="color:#0000A7">'''Monster'''</span>]] 07:55, 23 September 2012 (UTC) | |||
==Small errors== | |||
The table says <code><nowiki>style="text=align:right"</nowiki></code> and <code><nowiki>style="text=align:center"</nowiki></code> when I believe it should be <code><nowiki>style="text-align:right"</nowiki></code> and <code><nowiki>style="text-align:center"</nowiki></code>.--[[User:MisterE13|<span style="color:#0000FF">Mister</span>]][[User talk:MisterE13|<span style="color:#008000">'''E'''</span>]][[Special:Contributions/MisterE13|<span style="color:#800080">13</span>]] 17:42, 28 March 2013 (UTC) |
Latest revision as of 17:42, 28 March 2013
align=
Maybe have:
Replace all usages of align= with <what you want to replace it>. - unsigned comment from Rsrdaman (talk • contribs)
- The problem is it's context based. If it is determining the location of a table, it needs to be replaced with
style="float:left"
orstyle="float:right"
if it isalign=left
oralign=right
, but needs to be replaced withstyle="margin:auto"
if it isalign=center
. If it is aligning text or images, it needs to be replaced withstyle="text-align=<position>"
.valign=<postion>
also needs to be replaced withstyle="vertical-align:<position>"
. --SnorlaxMonster 06:31, 23 September 2012 (UTC)- Replace all usages of align= according to the below.
|
Maybe something like this?--×Rsrdaman× 07:17, 23 September 2012 (UTC)
Small errors
The table says style="text=align:right"
and style="text=align:center"
when I believe it should be style="text-align:right"
and style="text-align:center"
.--MisterE13 17:42, 28 March 2013 (UTC)