KIND HTML-asset: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Wozzel (talk | contribs)
mNo edit summary
 
Pware (talk | contribs)
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
KIND html-asset can be referenced from the scripts and from  
{{ORP-top}}
'''KIND html-asset''' can be referenced from the scripts and from  
some of the Surveyor rules (i.e. you select the html-asset  
some of the Surveyor rules (i.e. you select the html-asset  
by name, then type in the name of the *.html fle in the  
by name, then type in the name of the *.html fle in the  
small edit box).
small edit box).


A typical example of KIND html-asset in use is the in-game tutorial.
A typical example of KIND html-asset in use is the in-game tutorial, and in better written sessions.


==KIND Hierarchy==
==KIND Hierarchy==
===Parent Classes===
===Parent Classes===
* ''none.''
* [[KIND TrainzBaseSpec]]
 
===Child Classes===
===Child Classes===
* ''none.''
* ''none.''
Line 22: Line 22:
Sample [[config.txt file]] for a html-asset, with the Standard Tags excluded for brevity:
Sample [[config.txt file]] for a html-asset, with the Standard Tags excluded for brevity:


  [[TagName_Kind|kind]] "html-asset"
  kind "html-asset"
  [[TagName_Username|username]] "My HTML Page"
  username "My HTML Page"
  [[TagName_Kuid|kuid]] <KUID2:####:#####:0>
  kuid <KUID2:####:#####:0>{{FAB-todo|You can help fill this in with extracted examples-you've modified enough!}}
 
==Tutorial==
 
* [[How to Create a HTML Asset]]


==Downloads==
==Downloads==
See HTML Tutorials for examples
See HTML Tutorials for examples (TBD: link?)




==Categories==
==Categories==
[[Category:Asset KIND]]
[[Category:Asset KIND|HTML-asset]]
[[Category:TBD]]
{{ORP-bot|HTML-asset}}

Latest revision as of 07:13, 2 July 2018

KIND html-asset can be referenced from the scripts and from some of the Surveyor rules (i.e. you select the html-asset by name, then type in the name of the *.html fle in the small edit box).

A typical example of KIND html-asset in use is the in-game tutorial, and in better written sessions.

KIND Hierarchy

Parent Classes

Child Classes

  • none.


Supported Tags

Each HTML asset supports the following tags. Each tag is shown here with its default value.

  • none.


Example Config.txt

Sample config.txt file for a html-asset, with the Standard Tags excluded for brevity:

kind "html-asset"
username "My HTML Page"
kuid <KUID2:####:#####:0>∅

Tutorial

Downloads

See HTML Tutorials for examples (TBD: link?)


Categories