06-22-2014, 09:13 AM
Is there any interest in creating a generic item template?
I was thinking something like this:
...which could then be inserted into pages, e.g. "You can dispense chemicals into an empty beaker".
There are a few things I haven't considered with this approach (capitalization at the start of a sentence, plurals, etc) but at least some of them could be solved with MediaWiki template ifs or arguments (e.g. {{item/beaker|useplural}}).
It might make it easier to standardize shit, and god forbid the name of any object change it can be updated pretty easily everywhere by just changing the template/making a redirect.
Only issue is it'd be a lot of work and probably require a lot of image editing (most of the images on the wiki have empty space around them) ...
I was thinking something like this:
Code:
Template:Item/Beaker
{{item
|name=beaker
|plural=beakers
|link=Medical Objects#Beaker
|icon=Beaker.png
}}
...which could then be inserted into pages, e.g. "You can dispense chemicals into an empty beaker".
There are a few things I haven't considered with this approach (capitalization at the start of a sentence, plurals, etc) but at least some of them could be solved with MediaWiki template ifs or arguments (e.g. {{item/beaker|useplural}}).
It might make it easier to standardize shit, and god forbid the name of any object change it can be updated pretty easily everywhere by just changing the template/making a redirect.
Only issue is it'd be a lot of work and probably require a lot of image editing (most of the images on the wiki have empty space around them) ...