| | 1 | = RML Templates = |
|---|
| | 2 | |
|---|
| | 3 | == TEMPLATE Element == |
|---|
| | 4 | |
|---|
| | 5 | The ''TEMPLATE'' element is used in place of the ''RML'' element when defining a template. |
|---|
| | 6 | |
|---|
| | 7 | ''Attributes''[[br]] |
|---|
| | 8 | '''name = [wiki:documentation/Glossary#BasicTypes cdata]''' [wiki:documentation/Glossary#CaseInformation (CI)] |
|---|
| | 9 | The name of the template. Must be unique. Is used by other RML documents to reference the template. |
|---|
| | 10 | |
|---|
| | 11 | '''content = [wiki:documentation/Glossary#BasicTypes idref]''' [wiki:documentation/Glossary#CaseInformation (CI)] |
|---|
| | 12 | The id of the tag that the content will be put into. |
|---|
| | 13 | |
|---|
| | 14 | == BODY Element == |
|---|
| | 15 | |
|---|
| | 16 | The ''BODY'' element can contain a link to a template. |
|---|
| | 17 | |
|---|
| | 18 | '''Attributes''[[br]] |
|---|
| | 19 | '''template = [wiki:documentation/Glossary#BasicTypes cdata]''' [wiki:documentation/Glossary#CaseInformation (CI)] |
|---|
| | 20 | The name of the template to use. All child elements under the ''BODY'' element will be loaded into the template. |