Difference between revisions of "Template:MODULE"
From MSX Game Library
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="float:right; border: 2px solid #844;"> | <div style="float:right; border: 2px solid #844;"> | ||
<div style="background:#F88; padding:0.5em; font-weight:bold; font-family:monospace; text-align:center; font-size:120%;">{{{name}}}</div> | <div style="background:#F88; padding:0.5em; font-weight:bold; font-family:monospace; text-align:center; font-size:120%;">{{{name}}}</div> | ||
− | <div style="background:#FEE; padding:0.5em"> | + | <div style="background:#FEE; padding:0.5em"><img src="https://{{#if:{{{image|}}}|{{{image}}}|raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/noimage.png}}" style="width:256px;"/> |
Code: [https://github.com/aoineko-fr/MSXgl/blob/main/engine/src/{{{name}}}.h {{{name}}}.h] | Code: [https://github.com/aoineko-fr/MSXgl/blob/main/engine/src/{{{name}}}.h {{{name}}}.h] | ||
Line 30: | Line 30: | ||
=== Samples === | === Samples === | ||
− | See module use cases in the sample | + | See module use cases in the [[Samples|sample programs]]: {{#if:{{{sample1|}}}| |
* [https://github.com/aoineko-fr/MSXgl/blob/main/projects/samples/{{{sample1}}}.c {{{sample1}}}]{{#if:{{{sample1_desc|}}}| ({{{sample1_desc}}})}}|''None yet''}}{{#if:{{{sample2|}}}| | * [https://github.com/aoineko-fr/MSXgl/blob/main/projects/samples/{{{sample1}}}.c {{{sample1}}}]{{#if:{{{sample1_desc|}}}| ({{{sample1_desc}}})}}|''None yet''}}{{#if:{{{sample2|}}}| | ||
* [https://github.com/aoineko-fr/MSXgl/blob/main/projects/samples/{{{sample2}}}.c {{{sample2}}}]{{#if:{{{sample2_desc|}}}| ({{{sample2_desc}}})}}}}{{#if:{{{sample3|}}}| | * [https://github.com/aoineko-fr/MSXgl/blob/main/projects/samples/{{{sample2}}}.c {{{sample2}}}]{{#if:{{{sample2_desc|}}}| ({{{sample2_desc}}})}}}}{{#if:{{{sample3|}}}| |
Latest revision as of 22:25, 12 January 2024
{{{name}}}
Code: {{{name}}}.h
Category: [[:category:Module/{{{category}}}|{{{category}}}]]
Dependencies: None
Samples: None yet
{{:Modules/{{{name}}}/Desc}}
Usage
To use this module, include "{{{name}}}.h" in your source code, and add "{{{name}}}" to the modules list (LibModules) in your project's configuration file (project_config.js).
Samples
See module use cases in the sample programs: None yet
Settings
Dependencies
Dependency on other modules: None
Documentation