WoW:API SimpleHTML SetText: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
({{widgetmethod}})
Line 1: Line 1:
{{widgetmethod}}
{{stub/api}}
PLACEHOLDER CONTENT WHILE I WRITE A REAL PAGE:
PLACEHOLDER CONTENT WHILE I WRITE A REAL PAGE:


Line 26: Line 29:


I think most entities are supported, but I'm not sure. Non-ascii characters need to use the &#NNN; encoding (I think that's the right format)
I think most entities are supported, but I'm not sure. Non-ascii characters need to use the &#NNN; encoding (I think that's the right format)
----
{{template:WoW API}}

Revision as of 13:02, 10 June 2006

Widget API ← SimpleHTML < SetText

Template:Stub/api

PLACEHOLDER CONTENT WHILE I WRITE A REAL PAGE:

Accepts content in one of two forms.. "HTML" and "Plain"..

Plain form is the normal WoW markup with pipe delimiters.

HTML form uses a subset of HTML (You seem to be able to have WoW markup in the data) with the following tags:

<HTML> <BODY>

Within the BODY tag, you can have: <H1> <H2> <H3> <P> <BR> <IMG>

H1, H2, H3, and P are identical unless you've specified header fonts in the XML for the frame.

Within H1, H2, H3 and P, you can have BR and A tags.

The P H1 H2 and H3 tags can have align attributes The IMG tag can have align, width, height, and src attributes.

I think most entities are supported, but I'm not sure. Non-ascii characters need to use the &#NNN; encoding (I think that's the right format)