User talk:Hochstrd: Difference between revisions

From DominionStrategy Wiki
Jump to navigation Jump to search
No edit summary
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Travelers==
==Forgotten Travellers==
Thanks for the reminder, I forgot the travellers! Will add them now. [[User:Nandop]]
Thanks for the reminder, I forgot the travellers! Will add them now. [[User:Nandop]]


Line 22: Line 22:
[[User:Hochstrd|Hochstrd]] ([[User talk:Hochstrd|talk]]) 09:33, 27 August 2024 (EDT)
[[User:Hochstrd|Hochstrd]] ([[User talk:Hochstrd|talk]]) 09:33, 27 August 2024 (EDT)
:I agree this css is pretty cool. The only advantage I can see of the overlay version is that it allows the border to also act as a link to the card page. But maybe this is also possible using pure html/css? –[[user_talk:wikiwikiwiki|wikiwikiwiki]] 21:21, 29 August 2024 (EDT)
:I agree this css is pretty cool. The only advantage I can see of the overlay version is that it allows the border to also act as a link to the card page. But maybe this is also possible using pure html/css? –[[user_talk:wikiwikiwiki|wikiwikiwiki]] 21:21, 29 August 2024 (EDT)
::So I've added this to the site for <img> with width 200px or 320px. What do you think? Any suggestions for changes or improvements? The default is currently 0, but I could change it. –[[user_talk:wikiwikiwiki|wikiwikiwiki]] 13:14, 2 September 2024 (EDT)
:::It seems the way I coded the javascript actually got around the limitation of the border not being able to be used as a link. The new span ends up inside the <a>. –[[user_talk:wikiwikiwiki|wikiwikiwiki]] 01:32, 3 September 2024 (EDT)
===Changeable Version===
Change the border using the "Card Border: checkbox in the sidebar. Your choice is saved as a cookie, so it will remain as long as you don't clear your cache.
[[Image:Artist.jpg|200px|link=Artist]]
==Combined Travellers==
So far <nowiki>{{Card|Traveller|file=Travellers}}</nowiki> is being used, but I don't know where to use the separate page/peasant images. Any ideas? –[[user_talk:wikiwikiwiki|wikiwikiwiki]] 18:38, 10 September 2024 (EDT)
<br>-- Those were designed to be used as extra-cards-needed-for-this-kingdom when Page and/or Peasant are present.  May not find a use in the wiki, but the wiki is a good home. [[User:Hochstrd|Hochstrd]] ([[User talk:Hochstrd|talk]]) 2024-09-10T23:18Z
==Ideas for more Combined Images==
How about combining a couple of the most recognizable of each type into a single card image: [[card types]]. –[[user_talk:wikiwikiwiki|wikiwikiwiki]] 20:40, 10 September 2024 (EDT)
:Then I can make <nowiki>{{Card|Attack|file=Attacks}}</nowiki> happen. –[[user_talk:wikiwikiwiki|wikiwikiwiki]] 20:40, 10 September 2024 (EDT)

Revision as of 00:40, 11 September 2024

Forgotten Travellers

Thanks for the reminder, I forgot the travellers! Will add them now. User:Nandop

Adding Black Border to Trimmed Images

Overlay Version

<div style="position:relative;z-index:5;">[[File:Black border.png|230px|link=Artist]]
  <div style="position:absolute;left:14px;z-index:10;top:14px;">[[File:Artist.jpg|202px|link=Artist]]</div>
</div>

CSS Version

alternatively (without using extra image):

<span style="display: inline-block; padding: 11px; border-radius: 10px; background: black;">[[Image:Artist.jpg|202px]]</span>

m_knox (talk) 03:12, 27 August 2024 (EDT)

I like the pure CSS version! Hochstrd (talk) 09:33, 27 August 2024 (EDT)

I agree this css is pretty cool. The only advantage I can see of the overlay version is that it allows the border to also act as a link to the card page. But maybe this is also possible using pure html/css? –wikiwikiwiki 21:21, 29 August 2024 (EDT)
So I've added this to the site for <img> with width 200px or 320px. What do you think? Any suggestions for changes or improvements? The default is currently 0, but I could change it. –wikiwikiwiki 13:14, 2 September 2024 (EDT)
It seems the way I coded the javascript actually got around the limitation of the border not being able to be used as a link. The new span ends up inside the <a>. –wikiwikiwiki 01:32, 3 September 2024 (EDT)

Changeable Version

Change the border using the "Card Border: checkbox in the sidebar. Your choice is saved as a cookie, so it will remain as long as you don't clear your cache.

Combined Travellers

So far {{Card|Traveller|file=Travellers}} is being used, but I don't know where to use the separate page/peasant images. Any ideas? –wikiwikiwiki 18:38, 10 September 2024 (EDT)
-- Those were designed to be used as extra-cards-needed-for-this-kingdom when Page and/or Peasant are present. May not find a use in the wiki, but the wiki is a good home. Hochstrd (talk) 2024-09-10T23:18Z

Ideas for more Combined Images

How about combining a couple of the most recognizable of each type into a single card image: card types. –wikiwikiwiki 20:40, 10 September 2024 (EDT)

Then I can make {{Card|Attack|file=Attacks}} happen. –wikiwikiwiki 20:40, 10 September 2024 (EDT)