Unit/tech design - wiki links: unit/tech wiki link and wiki image
Posted: Tue May 31, 2022 4:07 pm
In the unit statsheet you can set links to wikipedia texts and images.
(In AOW/AOMW all units should have such reference, in other alternatives it is optional)
IMPORTANT!: i checked only Wikipedia (wikipedia.org) so no other page or image should be linked!
IMPORTANT!: reference ONLY English pages (so en.wikipedia.org)
here is how it look in json,
i generally put them right after the trnBestAgainstMeGround line, please you do so:
urlDoc: this should point to the main wikipedia page of that unit
urlImage: this is the image from that same wikipedia page, to get it it is a little tricky:
1. right click on image and "open image in new window"
2. copy the image url and put into "urlImage"
any other way of getting the image can result in wrong appearance in game.
(In AOW/AOMW all units should have such reference, in other alternatives it is optional)
IMPORTANT!: i checked only Wikipedia (wikipedia.org) so no other page or image should be linked!
IMPORTANT!: reference ONLY English pages (so en.wikipedia.org)
here is how it look in json,
Code: Select all
"urlImage":"https://upload.wikimedia.org/wikipedia/commons/f/f5/Bofors_L60_IWM_England.jpg",
"urlDoc":"https://en.wikipedia.org/wiki/Bofors_40_mm_gun"Code: Select all
"trnBestAgainstMeWater":{"copyFromUnit":"UNIT_US_INF_INFANTRY"},
"trnBestAgainstMeGround":{"copyFromUnit":"UNIT_US_INF_INFANTRY"},
"urlImage":"https://upload.wikimedia.org/wikipedia/commons/f/f5/Bofors_L60_IWM_England.jpg",
"urlDoc":"https://en.wikipedia.org/wiki/Bofors_40_mm_gun"
urlImage: this is the image from that same wikipedia page, to get it it is a little tricky:
1. right click on image and "open image in new window"
2. copy the image url and put into "urlImage"
any other way of getting the image can result in wrong appearance in game.