WoW Frames Tutorial (Frame 3)

To add more Lines of Text we need to add more Fontstrings.
We can however wrap the Text of one line using |n:

        <!-- Frame 3 -->
       
        <!-- we want now to add a multiline text with different color below -->

   <Frame name="FaraFrames3" hidden="true" inherits="FaraFrames">
    <!-- set the parameters for the layers of the frame -->
    <Layers>
      <Layer level="ARTWORK">
            <!-- Same as in Frame 2 -->
                <FontString name="$parent_Text1" inherits="GameFontNormal" text="Hello World">
                        <Anchors>
                          <Anchor point="LEFT" relativePoint="TOPLEFT">
                                <Offset>
                                        <AbsDimension x="4" y="-10"/>
                                </Offset>
                          </Anchor>
                        </Anchors>
                </FontString>
                <!-- New Fontstring note "relativeTo" connects it with the Text1 ,so it will move if Text1 is moved with it -->
                <FontString name="$parent_Text2" inherits="GameFontNormal"  justifyH="LEFT" text="This is the first Line|nSecond Line|n3rd Line" nonspacewrap="false" maxLines="3">
                        <Anchors>
                          <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="$parent_Text1">
                                <Offset>
                                        <AbsDimension x="0" y="-34"/>
                                </Offset>
                          </Anchor>
                        </Anchors>
                        <Color r="1" g="1" b="1" a="1" />  <!-- White Color -->
                </FontString>      
      </Layer>
    </Layers>
   </Frame>
   


Here the resulting frame (Called with /ff 3)





Proceed to Frame 4