Difference between revisions of "Help:Search Terms"

42 bytes added ,  08:24, 25 April 2008
m
Portal:Scripting/Search Terms moved to Help:Search Terms: this is really a general thing, not just a Scripting thing.
imported>DragoonWraith
m (formatting)
imported>DragoonWraith
m (Portal:Scripting/Search Terms moved to Help:Search Terms: this is really a general thing, not just a Scripting thing.)
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
  elephant
  elephant
  Sears
  Sears
End Search Terms --></nowiki>
End Search Terms --></nowiki>


Now this page will show up in a search for "banana", "elephant", or "Sears". The <nowiki><!-- and --></nowiki> tags are the beginnings an end of the HTML comment, and the "Begin" and "End" notes are added to explain what the comment is being used for.
Now this page will show up in a search for "banana", "elephant", or "Sears", but visitors would never see this list. The <nowiki><!-- and --></nowiki> tags are the beginnings an end of the HTML comment, and the "Begin" and "End" notes are added to explain what the comment is being used for.


One of the most important places to add search terms is to each of the functions in the game. Because functions are all a single word, a Search Term list should be made for each one, with each part of the function name in it.
One of the most important places to add search terms is to each of the functions in the game. Because functions are all a single word, a Search Term list should be made for each one, with each part of the function name in it.
Line 14: Line 14:
For example, this was added to the top of [[GetItemCount]]:
For example, this was added to the top of [[GetItemCount]]:
  <nowiki><!-- Begin Search Terms
  <nowiki><!-- Begin Search Terms
Get
Get
Item
Item
Count
Count
End Search Terms -->
End Search Terms -->
'''Syntax:'''
'''Syntax:'''