Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:FP-Layout: Difference between revisions

Template page
add comment on logic of {{#ifeq:{{Str find|{{PAGENAME}}|black and white}}|-1|E5D4A1|d3d3d3}}
correct box-sizing: border-box; padding: 0; border-spacing: 8px; remove deprecated HTML
Line 1: Line 1:
<noinclude>{|</noinclude>cellspacing="8" cellpadding="0" style="width:100%; clear:both; margin:0.5em auto; background-color:var(--background-color-warning-subtle,#faf5e6); color: var(--color-base, #202122); border:2px solid #{{#ifeq:{{Str find|{{PAGENAME}}|black and white}}|-1|E5D4A1|d3d3d3}};" dir="{{#dir:{{{lang|{{int:lang}}}}}}}" class="layouttemplate"<noinclude><!-- *** This logic checks if the page name contains the string "black and white", such as [[Category:Featured contemporary black and white photographs]], which will then make the border gray to match the FP logo for B&W FP than normal FP which is gold: {{#ifeq:{{Str find|{{PAGENAME}}|black and white}}|-1|E5D4A1|d3d3d3}} *** -->
<noinclude>{|</noinclude>style="width:100%; clear:both; margin:0.5em auto; background-color:var(--background-color-warning-subtle,#faf5e6); color: var(--color-base, #202122); box-sizing: border-box; padding: 0; border-spacing: 8px; border:2px solid #{{#ifeq:{{Str find|{{PAGENAME}}|black and white}}|-1|E5D4A1|d3d3d3}};" dir="{{#dir:{{{lang|{{int:lang}}}}}}}" class="layouttemplate"<noinclude><!-- *** This logic checks if the page name contains the string "black and white", such as [[Category:Featured contemporary black and white photographs]], which will then make the border gray to match the FP logo for B&W FP than normal FP which is gold: {{#ifeq:{{Str find|{{PAGENAME}}|black and white}}|-1|E5D4A1|d3d3d3}} *** -->
| example
| example
|}
|}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.