Template:FGD/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 11: Line 11:
The fgd text itself should be placed on page {{code|Template:FGD/<page name>}}
The fgd text itself should be placed on page {{code|Template:FGD/<page name>}}
* Example [[Left 4 Dead 2.fgd]] has the text on [[Template:FGD/Left 4 Dead 2.fgd]]
* Example [[Left 4 Dead 2.fgd]] has the text on [[Template:FGD/Left 4 Dead 2.fgd]]
{{warning|Post-expand include size seems to be quite big when this is used. This template might fail for too big fgd}}

Latest revision as of 07:49, 11 September 2024

Edit-copy.png
This is a documentation subpage for Template:FGD.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Template to have uniform fgd pages and make them easier to edit if needed

  • {{{name}}} - name of the file withough .fgd extension
  • {{{filepath}}} - location of the file without / at the end (use / slash not the other one \)
  • {{{engine}}} - source, goldsrc or source 2 to apply category
  • {{{included in fgd link}}} - if this fgd is included in other fgd specify a link to that page
  • {{{included in fgd path}}} - path of the fgd file where this fgd file is included in


The fgd text itself should be placed on page Template:FGD/<page name>


Warning.pngWarning:Post-expand include size seems to be quite big when this is used. This template might fail for too big fgd